[tool:pytest] norecursedirs = dist build tmp .* *.egg-info python_files = tests.py check_manifest.py addopts = --doctest-modules --ignore=setup.py [zest.releaser] python-file-with-version = check_manifest.py [flake8] ignore = E241,E501,E261,E126,E127,E128,E302,W503 # E241: multiple spaces after ',' # E501: line too long # E261: at least two spaces before inline comment # E126: continuation line over-indented for hanging indent # E127: continuation line over-indented for visual indent # E128: continuation line under-indented for visual indent # E302: expected 2 blank lines, found 0 # W503: line break before binary operator # empty [mypy] section required for mypy 0.800, see # https://github.com/python/mypy/issues/9940 [mypy] strict = true # setuptools has no type hints [mypy-setuptools.command.egg_info] ignore_missing_imports = true # distutils got removed from Python 3.12, setuptools ships it now but w/o hints [mypy-distutils.text_file] ignore_missing_imports = true # zest.releaser has no type hints [mypy-zest.releaser.utils] ignore_missing_imports = true [isort] # from X import ( # a, # b, # ) multi_line_output = 3 include_trailing_comma = true lines_after_imports = 2 reverse_relative = true default_section = THIRDPARTY known_first_party = check_manifest # known_third_party = pytest, ... # skip = filename...