-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
52 lines (46 loc) · 1.23 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
[bumpversion]
current_version = 2.0.0
commit = True
tag = True
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:validations_engine/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bdist_wheel]
universal = 1
[flake8]
docstring-convention = numpy
max-line-length = 88
max-complexity = 12
;W503: Line break occurred before a binary operator
;E203: Whitespace before ':'
;D203: 1 blank line required before class docstring
;D401: First line should be in imperative mood
;D107: Missing docstring in __init__
;S101: Multi-line construct missing trailing comma
ignore = W503, E203, D203, D401, D107, S101
exclude =
dist/*,
build/*,
.pytest_cache/*,
.git/*,
pip/*,
per-file-ignores =
# We will not check for docstrings or the use of asserts in tests
tests/*:D,S101
setup.py:D,S101
# Ignoring 'imported but unused' error in init files
__init__.py:F401
[mypy]
# be strict
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_untyped_defs = True
check_untyped_defs = True
disallow_untyped_calls = True