Skip to content

Commit 2255e02

Browse files
committed
Add format check with black to tox configuration
1 parent 20552ab commit 2255e02

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tox.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
[tox]
2-
envlist = py{36,37}, flake8, mypy
2+
envlist = py{36,37}, black, flake8, mypy
33

44
[travis]
55
python =
66
3.7: py37
77
3.6: py36
88

9+
[testenv:black]
10+
basepython = python
11+
deps = black
12+
commands =
13+
black graphql tests --check
14+
915
[testenv:flake8]
1016
basepython = python
1117
deps = flake8

0 commit comments

Comments
 (0)