-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
44 lines (40 loc) · 925 Bytes
/
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
[flake8]
ignore =
# Lines starting with binary operators
W503,
# Module-level imports not at top of file
E402
max-line-length = 100
[tool:pytest]
addopts =
--mypy
--flake8
--benchmark-group-by=func
--benchmark-columns=min,max,median
-v
markers =
mypy: MyPy marker
filterwarnings =
error
# ignored by default
ignore::ImportWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# raised by Cython, usually harmless
ignore:numpy.dtype size changed:RuntimeWarning
ignore:numpy.ufunc size changed:RuntimeWarning
flake8-ignore =
terracotta/_version.py ALL
[mypy]
show_error_codes = True
ignore_missing_imports = True
warn_redundant_casts = True
# whitelist modules for type checking
ignore_errors = True
[mypy-terracotta.*]
ignore_errors = False
disallow_untyped_defs = True
warn_unused_ignores = True
warn_unreachable = True
[mypy-terracotta._version]
ignore_errors = True