diff --git a/Makefile b/Makefile index 391c454..29c412b 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ help: .PHONY: dev-setup ## Install development dependencies dev-setup: pip install -e ".[dev]" + python -m pre_commit install .PHONY: tests ## Run unit tests tests: diff --git a/setup.py b/setup.py index d9aefef..cc9770c 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ dev_requires = [ "flake8==5.0.4", "flake8-black==0.3.3", "flake8-bugbear==22.9.11", + "pre-commit", ] + tests_require setup(