Skip to content

Commit e3cc899

Browse files
committed
🔧 Keep excluding migrations
1 parent 849a554 commit e3cc899

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ repos:
2323
rev: 22.3.0
2424
hooks:
2525
- id: black
26+
exclude: migrations/
2627
- repo: https://github.com/PyCQA/flake8
2728
rev: 4.0.1
2829
hooks:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ commands = {posargs:py.test --cov=graphene_django graphene_django examples}
4242
basepython = python3.9
4343
deps = -e.[dev]
4444
commands =
45-
black graphene_django examples setup.py --check
45+
black --exclude "/migrations/" graphene_django examples setup.py --check
4646

4747
[testenv:flake8]
4848
basepython = python3.9

0 commit comments

Comments
 (0)