-
-
Notifications
You must be signed in to change notification settings - Fork 426
/
setup.cfg
88 lines (69 loc) · 1.66 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[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.9
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
namespace_packages = True
disallow_untyped_calls = True
no_implicit_optional = True
disallow_untyped_defs = True
[mypy-numpy]
ignore_missing_imports = True
[mypy-tensorflow]
ignore_missing_imports = True
[mypy-tensorboardX]
ignore_missing_imports = True
[mypy-jax.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = True
[mypy-torchvision.*]
ignore_missing_imports = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-git.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-responses.*]
ignore_missing_imports = True
[mypy-numba]
ignore_missing_imports = True
[isort]
profile=black
[tool:pytest]
addopts =
--verbose
--cov=foolbox
--cov-report term-missing
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# produced by TensorFlow:
ignore:.*can't resolve package from __spec__ or __package__.*:ImportWarning
[coverage:run]
omit =
tests/*
[coverage:report]
exclude_lines =
# see: http://coverage.readthedocs.io/en/latest/config.html
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
@abstractmethod
@overload
TYPE_CHECKING
raise AssertionError
raise NotImplementedError
@jitclass