-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.cfg
85 lines (71 loc) · 1.58 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[versioneer]
VCS = git
style = pep440
versionfile_source = aeppl/_version.py
versionfile_build = aeppl/_version.py
tag_prefix = v
parentdir_prefix = aeppl-
[pydocstyle]
# Ignore errors for missing docstrings.
# Ignore D202 (No blank lines allowed after function docstring)
# due to bug in black: https://github.com/ambv/black/issues/355
add-ignore = D100,D101,D102,D103,D104,D105,D106,D107,D202
convention = numpy
[tool:pytest]
python_files=test*.py
testpaths=tests
filterwarnings =
error
ignore:::numdifftools
[coverage:run]
omit =
aeppl/_version.py
tests/*
branch = True
relative_files = true
[coverage:report]
omit =
aeppl/_version.py
tests/*
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
show_missing = 1
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88
[flake8]
max-line-length = 88
select = C,E,F,W
ignore = E203,E231,E501,E741,W503,W504,C901
per-file-ignores =
**/__init__.py:F401,E402,F403
[pylint]
max-line-length = 88
[pylint.messages_control]
disable = C0330, C0326
[mypy]
ignore_missing_imports = True
no_implicit_optional = True
check_untyped_defs = True
strict_equality = True
warn_redundant_casts = True
warn_unused_ignores = True
show_error_codes = True
[mypy-setup]
ignore_errors = True
check_untyped_defs = False
[mypy-versioneer]
check_untyped_defs = False
[mypy-tests.*]
ignore_errors = True
check_untyped_defs = False
[mypy-aeppl._version]
ignore_errors = True
check_untyped_defs = False
[mypy-aeppl.printing.*]
ignore_errors = True