mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
setup.py: Include 'flake8' in 'test' requirements
We are using this in our testing and actually need it for the flake8 plugin, so include this in the list of 'test' requirements. Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
parent
fcbabcd9b5
commit
a102e8e29b
@ -39,7 +39,6 @@ install:
|
|||||||
- pip install -U pip setuptools
|
- pip install -U pip setuptools
|
||||||
- pip install docutils==$DOCUTILS
|
- pip install docutils==$DOCUTILS
|
||||||
- pip install .[test,websupport]
|
- pip install .[test,websupport]
|
||||||
- pip install flake8
|
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy typed-ast; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy typed-ast; fi
|
||||||
script:
|
script:
|
||||||
- flake8
|
- flake8
|
||||||
|
1
setup.py
1
setup.py
@ -72,6 +72,7 @@ extras_require = {
|
|||||||
'pytest',
|
'pytest',
|
||||||
'pytest-cov',
|
'pytest-cov',
|
||||||
'html5lib',
|
'html5lib',
|
||||||
|
'flake8',
|
||||||
],
|
],
|
||||||
'test:python_version<"3"': [
|
'test:python_version<"3"': [
|
||||||
'enum34',
|
'enum34',
|
||||||
|
Loading…
Reference in New Issue
Block a user