diff --git a/.devcontainer/post_create.sh b/.devcontainer/post_create.sh index c2f86ecd81..b427fa873d 100644 --- a/.devcontainer/post_create.sh +++ b/.devcontainer/post_create.sh @@ -10,3 +10,5 @@ pip install --upgrade \ setuptools_scm \ wheel pip install -e '.[dev]' + +pre-commit install --install-hooks diff --git a/pyproject.toml b/pyproject.toml index b9080b2cb3..fbcb60ca33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ dynamic = ["version"] dev = [ "build", "chardet", + "pre-commit", "pytest", "pytest-cov", "pytest-dependency",