Skip to content

Commit

Permalink
Ignore W503 pep8 warning, it is outdated on our jenkins
Browse files Browse the repository at this point in the history
Our old version of pep8 produces a warning that goes against
the actual pep8 style guide:
https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
PyCQA/pycodestyle#498

Change-Id: Iea4612a6608f9de25a1a85c201e5ccc936ec35b7
  • Loading branch information
jynus committed Nov 29, 2016
1 parent acb1f78 commit 5deb1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ envlist = py27, pep8
max-line-length = 100
# E123/E133, E226 and E241/E242 are default ignores
# E402: module level import not at top of file
ignore = E123,E133,E226,E241,E242,E402
# W503: ignore operators after line break until pep8 is upgraded
ignore = E123,E133,E226,E241,E242,E402,W503
# Upstream files that don't pass flake8 but should not be locally modified
# jupyterhub_config.py/nchp_config.py are config files & hence won't pass pep8
exclude = modules/letsencrypt/files/acme_tiny.py,modules/varnish/files/varnishapi.py,modules/postgresql/files/check_postgres_replication_lag.py,modules/jupyterhub/files/jupyterhub_config.py,modules/jupyterhub/files/nchp_config.py
Expand Down

0 comments on commit 5deb1f1

Please sign in to comment.