@@ -11,14 +11,14 @@ classifiers = [
1111 " Intended Audience :: Education" ,
1212 " Intended Audience :: Science/Research" ,
1313 " License :: OSI Approved :: Apache Software License" ,
14- " Operating System :: POSIX :: Linux" ,
1514 " Operating System :: MacOS :: MacOS X" ,
15+ " Operating System :: POSIX :: Linux" ,
1616 " Programming Language :: Python :: 3.11" ,
1717 " Programming Language :: Python :: 3.12" ,
1818 " Programming Language :: Python :: 3.13" ,
1919 " Programming Language :: Python :: 3.14" ,
2020]
21- keywords = [" probabilistic " , " machine learning" , " bayesian " , " statistics" ]
21+ keywords = [" bayesian " , " machine learning" , " probabilistic " , " statistics" ]
2222dependencies = [
2323 " jax>=0.7.0" ,
2424 " jaxlib>=0.7.0" ,
@@ -47,11 +47,6 @@ requires = ["setuptools>=61", "wheel"]
4747build-backend = " setuptools.build_meta"
4848
4949[dependency-groups ]
50- ci = [
51- " coverage>=7.13.5" ,
52- " coveralls>=4.1.0" ,
53- " funsor" ,
54- ]
5550dev = [
5651 " equinox" ,
5752 " flax" ,
@@ -61,19 +56,24 @@ dev = [
6156 " jaxns>=2.6.3,<=2.6.9" ,
6257 " matplotlib" ,
6358 " optax>=0.0.6" ,
64- " pylab-sdk" , # jaxns dependency
59+ " pylab-sdk" , # jaxns dependency
6560 " pytest-cov" ,
66- " pyyaml" , # flax dependency
67- " requests" , # pylab dependency
61+ " pyyaml" , # flax dependency
62+ " requests" , # pylab dependency
6863 " tfp-nightly" ,
6964]
65+ ci = [
66+ " coverage>=7.13.5" ,
67+ " coveralls>=4.1.0" ,
68+ " funsor" ,
69+ ]
7070docs = [
71- " ipython" , # sphinx needs this to render codes
71+ " ipython" , # sphinx needs this to render codes
7272 " nbsphinx>=0.8.9" ,
7373 " readthedocs-sphinx-search>=0.3.2" ,
74- " sphinx-rtd-theme" ,
75- " sphinx-gallery" ,
7674 " sphinx>=5" ,
75+ " sphinx-gallery" ,
76+ " sphinx-rtd-theme" ,
7777]
7878examples = [
7979 " arviz" ,
@@ -142,10 +142,10 @@ extend-include = ["*.ipynb"]
142142[tool .ruff .lint ]
143143select = [" ANN" , " E" , " F" , " I" , " W" ]
144144ignore = [
145- " ANN002" , # missing args type annotation
146- " ANN003" , # missing kwargs type annotation
147- " ANN204" , # missing type annotation for __call__
148- " ANN401" , # function arguments are annotated with a more specific type than Any.
145+ " ANN002" , # missing args type annotation
146+ " ANN003" , # missing kwargs type annotation
147+ " ANN204" , # missing type annotation for __call__
148+ " ANN401" , # function arguments are annotated with a more specific type than Any.
149149 " E203" ,
150150]
151151
@@ -175,7 +175,7 @@ line-ending = "auto"
175175[tool .ruff .lint .per-file-ignores ]
176176"!numpyro/{diagnostics.py,handlers.py,optim.py,patch.py,primitives.py,infer/elbo.py,distributions/distribution.py}" = [
177177 " ANN" ,
178- ] # require type annotations in typed modules
178+ ] # require type annotations in typed modules
179179
180180[tool .ruff .lint .extend-per-file-ignores ]
181181"numpyro/contrib/tfp/distributions.py" = [" F811" ]
@@ -198,7 +198,6 @@ section-order = [
198198[tool .ruff .lint .isort .sections ]
199199known-jax = [" flax" , " jax" , " optax" , " tensorflow_probability" ]
200200
201-
202201[tool .pytest .ini_options ]
203202addopts = [" -v" , " --color=yes" ]
204203filterwarnings = [
@@ -225,8 +224,8 @@ ignore_missing_imports = true
225224[[tool .mypy .overrides ]]
226225module = [
227226 " examples.datasets" ,
228- " numpyro.contrib.control_flow.*" , # types missing
229- " numpyro.contrib.funsor.*" , # types missing
227+ " numpyro.contrib.control_flow.*" , # types missing
228+ " numpyro.contrib.funsor.*" , # types missing
230229 " numpyro.contrib.hsgp.*" ,
231230 " numpyro.contrib.stochastic_support.*" ,
232231 " numpyro.diagnostics.*" ,
0 commit comments