third_party_jinja2/.flake8
xuezhou_yan 9232421ee2 issue:#I9SPO8 update jinja to 3.1.3
Signed-off-by: xuezhou_yan <yangang20@huawei.com>
2024-05-28 10:37:23 +08:00

29 lines
652 B
INI
Executable File

[flake8]
extend-select =
# bugbear
B
# bugbear opinions
B9
# implicit str concat
ISC
extend-ignore =
# slice notation whitespace, invalid
E203
# line length, handled by bugbear B950
E501
# bare except, handled by bugbear B001
E722
# zip with strict=, requires python >= 3.10
B905
# string formatting opinion, B028 renamed to B907
B028
B907
# up to 88 allowed by bugbear B950
max-line-length = 80
per-file-ignores =
# __init__ exports names
src/jinja2/__init__.py: F401
# not relevant to jinja's compiler
src/jinja2/compiler.py: B906
src/jinja2/idtracking.py: B906