diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6c79ac..f077196 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: rev: 22.3.0 hooks: - id: black + exclude: migrations/ - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: diff --git a/tox.ini b/tox.ini index 677d029..c936a37 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,7 @@ commands = {posargs:py.test --cov=graphene_django graphene_django examples} basepython = python3.9 deps = -e.[dev] commands = - black graphene_django examples setup.py --check + black --exclude "/migrations/" graphene_django examples setup.py --check [testenv:flake8] basepython = python3.9