Skip to content

Commit

Permalink
make pre-commit installation a normal hatch command as it does not ru…
Browse files Browse the repository at this point in the history
…n as a post install command
  • Loading branch information
mikealfare committed Apr 18, 2024
1 parent d28b329 commit 4d74dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ dependencies = [
"types-pytz",
"types-PyYAML",
]
post-install-commands = ["pre-commit install"]
[tool.hatch.envs.default.scripts]
dev = "pre-commit install"
code-quality = "pre-commit run --all-files" # runs others via hooks
black = "python -m black ."
flake8 = "python -m flake8 ."
Expand Down

0 comments on commit 4d74dd4

Please sign in to comment.