Skip to content

Commit 6ac8230

Browse files
committed
Switch test requirement to pytest-flake8.
Flake8 runs both pyflakes and codestyle. Pep8 was renamed to and supported as codestyle.
1 parent d4ada7b commit 6ac8230

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ matrix:
1313
before_install:
1414
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
1515
- pip install codecov
16+
- pip install 'py>=1.5.0'
1617
install:
1718
- pip install -e .
1819
- pip install -r requirements_dev.txt
@@ -27,4 +28,4 @@ deploy:
2728
secure: iZWZuDMIWyFtJf5cLDPwA82d7DVi+/8yBQJVowctJwkioz4PEZBrf4N7cKyFc7JlhsS0/gqPJ9nw1FBqHwlTFwikpCYjudcfVijzibwKBbTbYTbTY1xEYiv+2/Q2UGoGjGmf2qdqM9SBaQwvax+KgMO6e4I4vrX4cm3kMx4LHt0Z2ArORlhZ0oKxyi6azcFiZYwlOlp31PuV0iNpBkroBf+gQ20S35hD+GIm1U6D4zqkN0HmZ0LxlpZLXsHZ0FrEE57KU06RowWfkAFBkGjMBjr+phiZ/XRe88SFaiB3HVZaJm+ZPTJKnxryuGt5th54Q10DKLZ3KUien33saBYVziamHZ8ZYS01ztahEhqLKlQVB1e+p1M8mYXKVodqLgytOsddixIBmibq2rDJmLSPwro8RBwLhLdGZdRsH2kii06OQxPrzlUrOwtErozxvdNjS47hwjJ4ZVm4ZGcnOXZut4qwkiEEUMWUd54V+zDNnRxOf+hi/mEx3u8CmkV26XFJ7WHpr/E1T9XHuRh7YVP8MXrM3gjoL86g1swalpH/QBjf0UaF2BlTvWJ3j52uThH7MFUlCBgpYer1giJayyNjFw4+qUVMCyByD87V7x6/3glA7t4Kh0LiMq0Zo23PPbhuJOmJmDy6GTtjkXZEJ6XnNPV9+VR8LApmppevBDKafgA=
2829
distributions: sdist bdist_wheel
2930
on:
30-
tags: true
31+
tags: true

requirements_dev.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
mock
22
pytest
3-
pytest-pep8
4-
pytest-flakes
3+
pytest-flake8
54
pytest-cov
6-
flask
5+
flask

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def finalize_options(self):
3838
TestCommand.finalize_options(self)
3939
self.test_args = [
4040
'-sv',
41-
'--pep8',
42-
'--flakes',
41+
'--flake8',
4342
'--junitxml', 'reports/junit.xml',
4443
'--cov', 'openapi_core',
4544
'--cov-report', 'term-missing',

0 commit comments

Comments
 (0)