forked from pyro-ppl/pyro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
89 lines (68 loc) · 1.78 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
89
[flake8]
max-line-length = 120
exclude = docs/src, build, dist, .ipynb_checkpoints
extend-ignore = E721,E741
[isort]
profile = black
skip_glob = .ipynb_checkpoints
known_first_party = pyro, tests
known_third_party = opt_einsum, six, torch, torchvision
[tool:pytest]
filterwarnings = error
ignore:numpy.ufunc size changed:RuntimeWarning
ignore:numpy.dtype size changed:RuntimeWarning
ignore:Mixed memory format inputs detected:UserWarning
ignore:Setting attributes on ParameterDict:UserWarning
ignore::DeprecationWarning
ignore:CUDA initialization:UserWarning
ignore:floor_divide is deprecated:UserWarning
once::DeprecationWarning
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
markers =
benchmark
[yapf]
based_on_style = google
column_limit = 120
# Global options:
[mypy]
python_version = 3.6
warn_return_any = True
warn_unused_configs = True
warn_incomplete_stub = True
ignore_missing_imports = True
# Per-module options:
[mypy-pyro._version.*]
ignore_errors = True
[mypy-pyro.contrib.*]
ignore_errors = True
[mypy-pyro.distributions.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.generic.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.infer.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.nn.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.ops.einsum]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.ops.contract]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.ops.tensor_utils]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.optm.*]
warn_unused_ignores = True
[mypy-pyro.params.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-pyro.poutine.*]
ignore_errors = True
[mypy-pyro.util.*]
ignore_errors = True
warn_unused_ignores = True