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