-
-
Notifications
You must be signed in to change notification settings - Fork 986
/
setup.cfg
113 lines (87 loc) · 2.34 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Copyright Contributors to the Pyro project.
#
# SPDX-License-Identifier: Apache-2.0
[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:Creating a tensor from a list of numpy.ndarrays is extremely slow
ignore::DeprecationWarning
ignore:CUDA initialization:UserWarning
ignore:__floordiv__ is deprecated:UserWarning
ignore:floor_divide is deprecated:UserWarning
ignore:torch.tensor results are registered as constants in the trace
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.8
explicit_package_bases = True
warn_return_any = True
warn_unused_configs = True
warn_incomplete_stub = True
ignore_missing_imports = True
warn_unreachable = 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.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.optim.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.test_primitives]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.test_generic]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.poutine.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.ops.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.optim.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.perf.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.nn.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.infer.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.distributions.*]
ignore_errors = True
warn_unused_ignores = True
[mypy-tests.contrib.*]
ignore_errors = True
warn_unused_ignores = True