Skip to content

Commit

Permalink
Rename lint to fmt and update pre-commit versions (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored May 16, 2023
1 parent eb9bc0f commit fae56f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ repos:
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.3.0
hooks:
- id: mypy
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.260
rev: v0.0.267
hooks:
- id: ruff
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.8.0
rev: v2.9.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dev = ["hatch", "pytest", "black", "ruff", "mypy", "pre-commit"]
[tool.hatch.version]
source = "vcs"

[tool.hatch.envs.lint]
[tool.hatch.envs.fmt]
dependencies = ["pre-commit"]
scripts.run = "pre-commit run --all"
scripts.update = "pre-commit autoupdate"
Expand Down

0 comments on commit fae56f1

Please sign in to comment.