forked from mgedmin/check-manifest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
44 lines (38 loc) · 1.16 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[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]
# setuptools has no type hints
[mypy-setuptools.command.egg_info]
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...