forked from pyro-ppl/numpyro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
31 lines (28 loc) · 1007 Bytes
/
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
[flake8]
max-line-length = 120
exclude = docs/src, build, dist, .ipynb_checkpoints
ignore = W503,E203
per-file-ignores =
numpyro/contrib/tfp/distributions.py:F811
numpyro/distributions/kl.py:F811
[isort]
profile = black
skip_glob = .ipynb_checkpoints
known_first_party = funsor, numpyro, test
known_third_party = opt_einsum
known_jax = flax, haiku, jax, optax, tensorflow_probability
sections = FUTURE, STDLIB, THIRDPARTY, JAX, FIRSTPARTY, LOCALFOLDER
force_sort_within_sections = true
combine_as_imports = true
multi_line_output = 3
skip=docs
[tool:pytest]
filterwarnings = error
ignore:numpy.ufunc size changed,:RuntimeWarning
ignore:Using a non-tuple sequence:FutureWarning
ignore:jax.tree_structure is deprecated:FutureWarning
ignore:numpy.linalg support is experimental:UserWarning
ignore:scipy.linalg support is experimental:UserWarning
once:No GPU:UserWarning
once::DeprecationWarning
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL