| 1 |
[tool:pytest] |
| 2 |
norecursedirs = dist build tmp .* *.egg-info |
| 3 |
python_files = tests.py check_manifest.py |
| 4 |
addopts = --doctest-modules --ignore=setup.py |
| 5 |
|
| 6 |
[zest.releaser] |
| 7 |
python-file-with-version = check_manifest.py |
| 8 |
|
| 9 |
[flake8] |
| 10 |
ignore = E241,E501,E261,E126,E127,E128,E302,W503 |
| 11 |
# E241: multiple spaces after ',' |
| 12 |
# E501: line too long |
| 13 |
# E261: at least two spaces before inline comment |
| 14 |
# E126: continuation line over-indented for hanging indent |
| 15 |
# E127: continuation line over-indented for visual indent |
| 16 |
# E128: continuation line under-indented for visual indent |
| 17 |
# E302: expected 2 blank lines, found 0 |
| 18 |
# W503: line break before binary operator |
| 19 |
|
| 20 |
# empty [mypy] section required for mypy 0.800, see |
| 21 |
# https://github.com/python/mypy/issues/9940 |
| 22 |
[mypy] |
| 23 |
strict = true |
| 24 |
|
| 25 |
# setuptools has no type hints |
| 26 |
[mypy-setuptools.command.egg_info] |
| 27 |
ignore_missing_imports = true |
| 28 |
|
| 29 |
# distutils got removed from Python 3.12, setuptools ships it now but w/o hints |
| 30 |
[mypy-distutils.text_file] |
| 31 |
ignore_missing_imports = true |
| 32 |
|
| 33 |
# zest.releaser has no type hints |
| 34 |
[mypy-zest.releaser.utils] |
| 35 |
ignore_missing_imports = true |
| 36 |
|
| 37 |
[isort] |
| 38 |
# from X import ( |
| 39 |
# a, |
| 40 |
# b, |
| 41 |
# ) |
| 42 |
multi_line_output = 3 |
| 43 |
include_trailing_comma = true |
| 44 |
lines_after_imports = 2 |
| 45 |
reverse_relative = true |
| 46 |
default_section = THIRDPARTY |
| 47 |
known_first_party = check_manifest |
| 48 |
# known_third_party = pytest, ... |
| 49 |
# skip = filename... |