File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2020 run : tox
2121 env :
2222 TOXENV : flake8
23+ - name : Run pre-commit 💅
24+ run : tox
25+ env :
26+ TOXENV : pre-commit
Original file line number Diff line number Diff line change @@ -42,10 +42,16 @@ commands = {posargs:py.test --cov=graphene_django graphene_django examples}
4242basepython = python3.9
4343deps = -e.[dev]
4444commands =
45- black --exclude " /migrations/ " graphene_django examples setup.py --check
45+ black graphene_django examples setup.py --check
4646
4747[testenv:flake8]
4848basepython = python3.9
4949deps = -e.[dev]
5050commands =
5151 flake8 graphene_django examples setup.py
52+
53+ [testenv:pre-commit]
54+ skip_install = true
55+ deps = pre-commit
56+ commands =
57+ pre-commit run --all-files --show-diff-on-failure
You can’t perform that action at this time.
0 commit comments