-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.cfg
60 lines (47 loc) · 1.22 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
[tool:pytest]
testpaths = libmuscle/python integration_test
addopts = --cov --cov-report xml --cov-report term-missing -s
# -vv --log-cli-level=DEBUG
[mypy]
files = libmuscle/python/**/*.py, scripts/*.py, muscle3/*.py
mypy_path = libmuscle/python
warn_unused_configs = 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
warn_redundant_casts = True
warn_unused_ignores = False
warn_return_any = True
[mypy-*.test.*]
# We don't bother with type annotations for tests
ignore_errors = True
[mypy-integration_test.*]
ignore_errors = True
[mypy-setuptools]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-msgpack.*]
ignore_missing_imports = True
[mypy-netifaces.*]
ignore_missing_imports = True
[mypy-yaml.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-qcg.*]
ignore_missing_imports = True
#[mypy-ymmsl.*]
# This should be fixed later
#ignore_missing_imports = True
[flake8]
per-file-ignores =
setup.py: E501
*.py: E123 E126 W504
max-line-length = 88