• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[metadata]
2license_file = LICENSE.rst
3long_description = file:README.rst
4long_description_content_type = text/x-rst
5
6[tool:pytest]
7testpaths = tests
8filterwarnings =
9    error
10
11[coverage:run]
12branch = True
13source =
14    jinja2
15    tests
16
17[coverage:paths]
18source =
19    src
20    */site-packages
21
22[flake8]
23# B = bugbear
24# E = pycodestyle errors
25# F = flake8 pyflakes
26# W = pycodestyle warnings
27# B9 = bugbear opinions
28select = B, E, F, W, B9
29ignore =
30    # slice notation whitespace, invalid
31    E203
32    # line length, handled by bugbear B950
33    E501
34    # bare except, handled by bugbear B001
35    E722
36    # bin op line break, invalid
37    W503
38# up to 88 allowed by bugbear B950
39max-line-length = 80
40per-file-ignores =
41    # __init__ module exports names
42    src/jinja2/__init__.py: F401
43