xref: /third_party/jinja2/.flake8 (revision e31aef6a)
1[flake8]
2extend-select =
3    # bugbear
4    B
5    # bugbear opinions
6    B9
7    # implicit str concat
8    ISC
9extend-ignore =
10    # slice notation whitespace, invalid
11    E203
12    # line length, handled by bugbear B950
13    E501
14    # bare except, handled by bugbear B001
15    E722
16    # zip with strict=, requires python >= 3.10
17    B905
18    # string formatting opinion, B028 renamed to B907
19    B028
20    B907
21# up to 88 allowed by bugbear B950
22max-line-length = 80
23per-file-ignores =
24    # __init__ exports names
25    src/jinja2/__init__.py: F401
26    # not relevant to jinja's compiler
27    src/jinja2/compiler.py: B906
28    src/jinja2/idtracking.py: B906
29