diff --git a/pyproject.toml b/pyproject.toml index 05e535f9..f6d23c92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ."