-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.cfg
95 lines (82 loc) · 1.98 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
86
87
88
89
90
91
92
93
94
95
[bdist_wheel]
universal = 1
[nosetests]
verbosity=2
with-coverage=1
cover-erase=1
cover-html=1
cover-branches=1
cover-package=abydos
cover-inclusive=1
;processes=-1
process-timeout=60
process-restartworker=1
;with-doctest=1
doctest-options=+NORMALIZE_WHITESPACE
ignore-files=VOID_DEFAULT_IGNORE
exclude=(reg|fuzz)_test_
[flake8]
verbose=0
count=True
statistics=True
max-complexity=150
format=html
htmldir=flake8
accept-encodings=utf-8
copyright-check=True
exclude=.git,__pycache__,build,dist,docs,.tox,stubs
ignore=S311,W503,E203,I202,D203,D213,D402,D202,W504,R504,T484,T499
max-line-length=80
no-accept-encodings = True
show-source = true
[pycodestyle]
statistics=True
exclude=.git,__pycache__,build,dist,docs,.tox
verbose=1
ignore=W503,E203
[pylint]
;max-args=10
;max-branches=30
;max-statements=1500
;max-locals=30
;max-public-methods=100
;disable=locally-disabled,too-many-lines,undefined-all-variable
disable=C0330,E0401
load-plugins=pylint.extensions.docparams,pylint.extensions.bad_builtin
[doc8]
verbose=0
max-line-length=80
ignore-path=build,.tox,docs/_build,abydos.egg-info,tests/fuzz/corpora/blns.txt,abydos/phonetic/_beider_morse_data.py,mypy
extensions=.py
ignore=D001
[pydocstyle]
match=.*\.py
match_dir=[^\.](?!uild|ocs).*
convention=numpy
add_ignore=D202
[mypy]
mypy_path = stubs/
disallow_any_unimported = True
; disallow_any_expr = True
disallow_any_decorated = True
; disallow_any_explicit = True
disallow_any_generics = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_return_any = True
warn_unreachable = True
strict_equality = True
[mypy-numpy.*]
ignore_errors = True
[tool:pytest]
doctest_optionflags=NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
addopts=--cov=abydos --cov-branch --cov-report=html:cover --doctest-modules