Skip to content

Commit 426e24c

Browse files
committed
Flake8 runs both pyflakes and pycodestyle.
Pep8 is deprecated and renamed to pycodestyle.
1 parent b921eea commit 426e24c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

requirements_dev.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
mock==2.0.0
22
pytest==3.5.0
3-
pytest-pep8==1.0.6
4-
pytest-flakes==2.0.0
3+
pytest-flake8
54
pytest-cov==2.5.1
65
tox==3.0.0rc4

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ def finalize_options(self):
2727
TestCommand.finalize_options(self)
2828
self.test_args = [
2929
'-sv',
30-
'--pep8',
31-
'--flakes',
30+
'--flake8',
3231
'--cov', 'openapi_spec_validator',
3332
'--cov-report', 'term-missing',
3433
]
@@ -75,8 +74,7 @@ def run_tests(self):
7574
tests_require=[
7675
"mock",
7776
"pytest",
78-
"pytest-pep8",
79-
"pytest-flakes",
77+
"pytest-flake8",
8078
"pytest-cov",
8179
"tox",
8280
],

0 commit comments

Comments
 (0)