-
Notifications
You must be signed in to change notification settings - Fork 74
/
setup.cfg
38 lines (33 loc) · 888 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
[flake8]
max-line-length = 120
select = C,E,F,W,B,B950
extend-ignore = E203,E501,E402
[tool:pytest]
addopts =
--benchmark-group-by=func
--benchmark-columns=min,max,median
-v
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
# sometimes, dependencies leak resources
ignore:.*socket\.socket.*:pytest.PytestUnraisableExceptionWarning
[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