Skip to content

Commit f4dce04

Browse files
committed
Use black for linters check.
1 parent 6047a35 commit f4dce04

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

pytest.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[pytest]
2-
pep8maxlinelength=120
32
addopts=-vvl
43
filterwarnings =
54
error

requirements-testing.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mock
22
coverage<4.0a1
33
pytest-cache
4-
pycodestyle

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
[wheel]
22
universal = 1
3-
4-
[pycodestyle]
5-
max-line-length = 120

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
distshare = {homedir}/.tox/distshare
3-
envlist = py27-pytestlatest-linters,
3+
envlist = py37-pytestlatest-linters,
44
py27-pytest{36,37,38,39,310,4,41,42,43,44,45,46},
55
py37-pytest{36,37,38,39,310,4,41,42,43,44,45,46,5,latest},
66
py{35,36,38}-pytestlatest,
@@ -26,8 +26,9 @@ deps =
2626
-r{toxinidir}/requirements-testing.txt
2727
commands = py.test tests --junitxml={envlogdir}/junit-{envname}.xml
2828

29-
[testenv:py27-pytestlatest-linters]
30-
commands = pycodestyle pytest_bdd tests
29+
[testenv:py37-pytestlatest-linters]
30+
deps = black
31+
commands = black --check --verbose setup.py docs pytest_bdd tests
3132

3233
[testenv:py27-pytestlatest-xdist]
3334
deps =

0 commit comments

Comments
 (0)