mirror of
https://github.com/correl/openapi-core.git
synced 2025-01-06 03:00:11 +00:00
Switch test requirement to pytest-flake8.
Flake8 runs both pyflakes and codestyle. Pep8 was renamed to and supported as codestyle.
This commit is contained in:
parent
d4ada7bcbb
commit
6ac82304bf
3 changed files with 5 additions and 6 deletions
|
@ -13,6 +13,7 @@ matrix:
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
- pip install 'py>=1.5.0'
|
||||||
install:
|
install:
|
||||||
- pip install -e .
|
- pip install -e .
|
||||||
- pip install -r requirements_dev.txt
|
- pip install -r requirements_dev.txt
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
mock
|
mock
|
||||||
pytest
|
pytest
|
||||||
pytest-pep8
|
pytest-flake8
|
||||||
pytest-flakes
|
|
||||||
pytest-cov
|
pytest-cov
|
||||||
flask
|
flask
|
3
setup.py
3
setup.py
|
@ -38,8 +38,7 @@ class PyTest(TestCommand):
|
||||||
TestCommand.finalize_options(self)
|
TestCommand.finalize_options(self)
|
||||||
self.test_args = [
|
self.test_args = [
|
||||||
'-sv',
|
'-sv',
|
||||||
'--pep8',
|
'--flake8',
|
||||||
'--flakes',
|
|
||||||
'--junitxml', 'reports/junit.xml',
|
'--junitxml', 'reports/junit.xml',
|
||||||
'--cov', 'openapi_core',
|
'--cov', 'openapi_core',
|
||||||
'--cov-report', 'term-missing',
|
'--cov-report', 'term-missing',
|
||||||
|
|
Loading…
Reference in a new issue