summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig.ch@gmail.com>2021-02-24 19:21:44 +0100
committerGitHub <noreply@github.com>2021-02-24 19:21:44 +0100
commitbb227d3ba58745d62f03a919c671b6bba15464c1 (patch)
treec8522852d556a7ed12c66d709130d784a891243e
parentf6fd99530d70f2a7626602fd9132b628bb968eab (diff)
parentf518e87b5492f2f3c201d4d723c07c746a385b6e (diff)
downloadgitlab-bb227d3ba58745d62f03a919c671b6bba15464c1.tar.gz
Merge pull request #1325 from JohnVillalovos/jlvillal/pep8
fix: tox pep8 target, so that it can run
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 826e081..f45e742 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,10 @@ commands =
pytest gitlab/tests {posargs}
[testenv:pep8]
+basepython = python3
+deps = -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
+ flake8
commands =
flake8 {posargs} gitlab/
@@ -48,7 +52,7 @@ commands = {posargs}
[flake8]
exclude = .git,.venv,.tox,dist,doc,*egg,build,
max-line-length = 88
-ignore = H501,H803
+ignore = E501,H501,H803,W503
[testenv:docs]
deps = -r{toxinidir}/rtd-requirements.txt