Skip to content
Myr

move and update flake8 config

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 102ba5d · Browse files · 2 files+28 added−25 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+28 added−25 removed

  • other:+28 added−25 removed

2 files+28 added−25 removed

added:.flake8+28 added
1[flake8]2extend-select =3 # bugbear4 B5 # bugbear opinions6 B97 # implicit str concat8 ISC9extend-ignore =10 # slice notation whitespace, invalid11 E20312 # line length, handled by bugbear B95013 E50114 # bare except, handled by bugbear B00115 E72216 # zip with strict=, requires python >= 3.1017 B90518 # string formatting opinion, B028 renamed to B90719 B02820 B90721# up to 88 allowed by bugbear B95022max-line-length = 8023per-file-ignores =24 # __init__ exports names25 src/jinja2/__init__.py: F40126 # not relevant to jinja's compiler27 src/jinja2/compiler.py: B90628 src/jinja2/idtracking.py: B906
modified:setup.cfg-25 removed
59 unmodified lines
60source =61 src62 */site-packages6364[flake8]65# B = bugbear66# E = pycodestyle errors67# F = flake8 pyflakes68# W = pycodestyle warnings69# B9 = bugbear opinions70# ISC = implicit str concat71select = B, E, F, W, B9, ISC72ignore =73 # slice notation whitespace, invalid74 E20375 # line length, handled by bugbear B95076 E50177 # bare except, handled by bugbear B00178 E72279 # bin op line break, invalid80 W50381 # zip with strict=, requires python >= 3.1082 B90583# up to 88 allowed by bugbear B95084max-line-length = 8085per-file-ignores =86 # __init__ exports names87 src/jinja2/__init__.py: F4018864[mypy]65files = src/jinja266python_version = 3.767show_error_codes = True
19 unmodified lines