From 944138f7a97109cf50518e237e5a0aa21cb9efe4 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 30 Jan 2019 09:31:34 +0100 Subject: [PATCH] Flake8 update --- src/pretix/helpers/i18n.py | 4 ++-- src/pretix/plugins/reports/exporters.py | 2 +- src/requirements/dev.txt | 6 +++--- src/setup.cfg | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pretix/helpers/i18n.py b/src/pretix/helpers/i18n.py index bdcd89c741..27a74175c3 100644 --- a/src/pretix/helpers/i18n.py +++ b/src/pretix/helpers/i18n.py @@ -86,8 +86,8 @@ moment_locales = { 'te', 'tzm', 'zh-cn', } -toJavascript_re = re.compile(r'(?= 2.4.0, < 2.5.0 # requirement by flake8 3.6.0 -pyflakes >= 2.0.0, < 2.1.0 # requirement by flake8 3.6.0 +pycodestyle==2.5.* +pyflakes==2.1.* pep8-naming -flake8 +flake8==3.7.* codecov coverage pytest==3.6.* diff --git a/src/setup.cfg b/src/setup.cfg index dcdc749f22..5873633d91 100644 --- a/src/setup.cfg +++ b/src/setup.cfg @@ -1,5 +1,5 @@ [flake8] -ignore = N802,W503,E402,C901,E722,W504,E252,N812 +ignore = N802,W503,E402,C901,E722,W504,E252,N812,N806 max-line-length = 160 exclude = migrations,.ropeproject,static,mt940.py,_static,build,make_testdata.py,*/testutils/settings.py,tests/settings.py,pretix/base/models/__init__.py max-complexity = 11