diff options
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..5d3d02ee --- /dev/null +++ b/setup.cfg @@ -0,0 +1,42 @@ +[metadata] +license_file = LICENSE.rst +long_description = file:README.rst +long_description_content_type = text/x-rst + +[tool:pytest] +testpaths = tests +filterwarnings = + error + +[coverage:run] +branch = True +source = + jinja2 + tests + +[coverage:paths] +source = + src + */site-packages + +[flake8] +# B = bugbear +# E = pycodestyle errors +# F = flake8 pyflakes +# W = pycodestyle warnings +# B9 = bugbear opinions +select = B, E, F, W, B9 +ignore = + # slice notation whitespace, invalid + E203 + # line length, handled by bugbear B950 + E501 + # bare except, handled by bugbear B001 + E722 + # bin op line break, invalid + W503 +# up to 88 allowed by bugbear B950 +max-line-length = 80 +per-file-ignores = + # __init__ module exports names + src/jinja2/__init__.py: F401 |