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 20
20
run : tox
21
21
env :
22
22
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}
42
42
basepython = python3.9
43
43
deps = -e.[dev]
44
44
commands =
45
- black --exclude " /migrations/ " graphene_django examples setup.py --check
45
+ black graphene_django examples setup.py --check
46
46
47
47
[testenv:flake8]
48
48
basepython = python3.9
49
49
deps = -e.[dev]
50
50
commands =
51
51
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