11[project ]
22name = " torch-sim-atomistic"
3- version = " 0.6.0 "
3+ version = " 0.5.2 "
44description = " A pytorch toolkit for calculating material properties using MLIPs"
55authors = [
66 { name = " Abhijeet Gangan" , email = " abhijeetgangan@g.ucla.edu" },
@@ -39,7 +39,6 @@ dependencies = [
3939[project .optional-dependencies ]
4040test = [
4141 " torch-sim-atomistic[io,symmetry,vesin]" ,
42- " physical-validation>=1.0.5" ,
4342 " platformdirs>=4.0.0" ,
4443 " psutil>=7.0.0" ,
4544 " pymatgen>=2025.6.14" ,
@@ -58,6 +57,7 @@ orb = ["orb-models>=0.6.2"]
5857sevenn = [" sevenn[torchsim]>=0.12.1" ]
5958graphpes = [" graph-pes>=0.1" , " mace-torch>=0.3.12" ]
6059nequip = [" nequip>=0.17.1" ]
60+ allegro_pol = [" allegro-pol>=0.1.0" ]
6161nequix = [" nequix[torch-sim]>=0.4.5" ]
6262fairchem = [" fairchem-core>=2.7" , " scipy<1.17.0" ]
6363docs = [
@@ -88,6 +88,9 @@ build-backend = "uv_build"
8888module-name = " torch_sim"
8989module-root = " "
9090
91+ [tool .uv .sources ]
92+ allegro-pol = { git = " https://github.com/mir-group/allegro-pol" }
93+
9194[tool .ruff ]
9295target-version = " py312"
9396line-length = 90
@@ -128,25 +131,20 @@ isort.lines-after-imports = 2
128131pep8-naming.ignore-names = [" get_kT" , " kT" ]
129132
130133[tool .ruff .lint .per-file-ignores ]
131- "**/tests/*" = [" ANN001 " , " ANN201" , " ANN202 " , " D" , " INP001" , " S101" , " T201 " ]
132- "examples/**/*" = [" ANN001 " , " ANN201 " , " ANN202 " , " B018" , " T201" ]
134+ "**/tests/*" = [" ANN201" , " D" , " INP001" , " S101" ]
135+ "examples/**/*" = [" B018" , " T201" ]
133136"examples/tutorials/**/*" = [" ALL" ]
134- "docs/tutorials/*.ipynb" = [" ANN001" , " ANN201" , " B905" , " BLE001" , " E501" , " F841" , " N816" , " PLR1714" , " RUF001" , " T201" ]
135137
136138[tool .ruff .format ]
137139docstring-code-format = true
138140
139141[tool .codespell ]
140142check-filenames = true
141143ignore-words-list = [" convertor" ] # codespell:ignore convertor
142- skip = " docs/tutorials/integrator_tests_analysis.ipynb"
143144
144145[tool .pytest .ini_options ]
145- addopts = [" -p no:warnings" , " -m not physical_validation " ]
146+ addopts = [" -p no:warnings" ]
146147testpaths = [" tests" ]
147- markers = [
148- " physical_validation: long-running physical validation tests (run with: pytest -m physical_validation)" ,
149- ]
150148
151149[tool .uv ]
152150# make these dependencies mutually exclusive since they use incompatible e3nn versions
@@ -156,14 +154,6 @@ conflicts = [
156154 { extra = " fairchem" },
157155 { extra = " graphpes" },
158156 ],
159- [
160- { extra = " fairchem" },
161- { extra = " graphpes" },
162- ],
163- [
164- { extra = " fairchem" },
165- { extra = " mace" },
166- ],
167157 [
168158 { extra = " fairchem" },
169159 { extra = " mace" },
@@ -184,6 +174,10 @@ conflicts = [
184174 { extra = " graphpes" },
185175 { extra = " sevenn" },
186176 ],
177+ [
178+ { extra = " graphpes" },
179+ { extra = " allegro_pol" },
180+ ],
187181 [
188182 { extra = " mace" },
189183 { extra = " mattersim" },
@@ -200,6 +194,10 @@ conflicts = [
200194 { extra = " mace" },
201195 { extra = " sevenn" },
202196 ],
197+ [
198+ { extra = " mace" },
199+ { extra = " allegro_pol" },
200+ ],
203201]
204202
205203[dependency-groups ]
@@ -226,36 +224,22 @@ include = [
226224[tool .ty .overrides .rules ]
227225unresolved-import = " ignore"
228226
229- [[tool .ty .overrides ]]
230- include = [
231- " torch_sim/models/dispersion.py" ,
232- " torch_sim/neighbors/vesin.py" ,
233- ]
234- [tool .ty .overrides .rules ]
235- invalid-argument-type = " ignore"
236- invalid-assignment = " ignore"
237-
238227[[tool .ty .overrides ]]
239228include = [" tests/**/*.py" ]
240229
241230[tool .ty .overrides .rules ]
242231invalid-argument-type = " ignore"
243- invalid-assignment = " ignore"
244232no-matching-overload = " ignore"
245233unresolved-attribute = " ignore"
246234unresolved-import = " ignore"
247235
248236[[tool .ty .overrides ]]
249- include = [" docs/**/*.py" , " docs/**/*.ipynb " , " examples/**/*.py" ]
237+ include = [" docs/**/*.py" , " examples/**/*.py" ]
250238[tool .ty .overrides .rules ]
251- invalid-argument-type = " ignore"
252- not-iterable = " ignore"
253- not-subscriptable = " ignore"
254- unresolved-attribute = " ignore"
255239unresolved-import = " ignore"
256240
257241
258242[[tool .ty .overrides ]]
259243include = [" torch_sim/neighbors/alchemiops.py" ]
260244[tool .ty .overrides .rules ]
261- call-non-callable = " ignore"
245+ call-non-callable = " ignore"
0 commit comments