-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.cfg
76 lines (64 loc) · 1.49 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
[versioneer]
VCS = git
style = pep440
versionfile_source = pymc3_hmm/_version.py
versionfile_build = pymc3_hmm/_version.py
tag_prefix = v
parentdir_prefix = pymc3_hmm-
[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
[coverage:run]
omit =
pymc3_hmm/_version.py
tests/*
branch = True
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise TypeError
return NotImplemented
raise NotImplementedError
if __name__ == .__main__.:
assert False
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
extend-ignore = E203, W503
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-versioneer]
check_untyped_defs = False
[mypy-tests.*]
ignore_errors = True
check_untyped_defs = False
[mypy-pymc3_hmm._version]
ignore_errors = True
check_untyped_defs = False