diff --git a/pyproject.toml b/pyproject.toml index 907ae743..d9c3b4f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,8 +63,8 @@ dependencies = [ "types-protobuf", "types-pytz", ] -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 ."