Merge pull request #4094 from kennethreitz/flake8

Flake8
This commit is contained in:
2017-05-29 01:53:26 -04:00
committed by GitHub
2 changed files with 8 additions and 3 deletions
+5 -2
View File
@@ -5,11 +5,14 @@ test:
# This runs all of the tests, on both Python 2 and Python 3.
detox
ci:
python setup.py test
py.test -n 8 --boxed --junitxml=report.xml
test-readme:
python setup.py check -r -s
flake8:
flake8 --ignore=E501 requests
coverage:
py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
@@ -21,4 +24,4 @@ publish:
docs:
cd docs && make html
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"
+3 -1
View File
@@ -10,5 +10,7 @@ readme_renderer
Sphinx<=1.5.5
PySocks
setuptools>=18.5
docutils
flake8
tox
detox
detox