forked from jonasrauber/eagerpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
51 lines (41 loc) · 1.05 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
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
[mypy]
python_version = 3.6
warn_unused_ignores = True
warn_unused_configs = True
warn_return_any = True
warn_redundant_casts = True
warn_unreachable = True
ignore_missing_imports = False
disallow_any_unimported = True
disallow_untyped_calls = True
no_implicit_optional = True
disallow_untyped_defs = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-jax.*]
ignore_missing_imports = True
[mypy-tensorflow]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-setuptools]
ignore_missing_imports = True
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# produced by TensorFlow:
ignore:.*can't resolve package from __spec__ or __package__.*:ImportWarning
[coverage:report]
exclude_lines =
# see: http://coverage.readthedocs.io/en/latest/config.html
# Have to re-enable the standard pragma
pragma: no cover
@abstractmethod
@overload
TYPE_CHECKING