Skip to content

Commit 8eb02c0

Browse files
committed
wip
1 parent 35b0ef4 commit 8eb02c0

28 files changed

Lines changed: 600 additions & 113 deletions

tests/models/test_fairchem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
2424
pytest.skip(
25-
f"FairChem not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
25+
f"FairChem not installed: {traceback.format_exc()}",
2626
allow_module_level=True,
2727
)
2828

tests/models/test_fairchem_legacy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
2424
pytest.skip(
25-
f"FairChem not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
25+
f"FairChem not installed: {traceback.format_exc()}",
2626
allow_module_level=True,
2727
)
2828

tests/models/test_graphpes_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from torch_sim.models.graphpes_framework import GraphPESWrapper
2222
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
2323
pytest.skip(
24-
f"graph-pes not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
24+
f"graph-pes not installed: {traceback.format_exc()}",
2525
allow_module_level=True,
2626
)
2727

tests/models/test_mace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from torch_sim.models.mace import MaceModel, MaceUrls
2121

2222
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
23-
pytest.skip(f"MACE not installed: {traceback.format_exc()}", allow_module_level=True) # ty:ignore[too-many-positional-arguments]
23+
pytest.skip(f"MACE not installed: {traceback.format_exc()}", allow_module_level=True)
2424

2525
# mace_omol is optional (added in newer MACE versions)
2626
try:

tests/models/test_mattersim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
2121
pytest.skip(
22-
f"mattersim not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
22+
f"mattersim not installed: {traceback.format_exc()}",
2323
allow_module_level=True,
2424
)
2525

tests/models/test_metatomic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from torch_sim.models.metatomic import MetatomicModel
1919
except ImportError:
2020
pytest.skip(
21-
f"metatomic not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
21+
f"metatomic not installed: {traceback.format_exc()}",
2222
allow_module_level=True,
2323
)
2424

tests/models/test_nequip_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from torch_sim.models.nequip_framework import NequIPFrameworkModel
2020
except (ImportError, ModuleNotFoundError):
2121
pytest.skip(
22-
f"nequip not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
22+
f"nequip not installed: {traceback.format_exc()}",
2323
allow_module_level=True,
2424
)
2525

tests/models/test_orb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from torch_sim.models.orb import OrbModel
1818

1919
except ImportError:
20-
pytest.skip(f"ORB not installed: {traceback.format_exc()}", allow_module_level=True) # ty:ignore[too-many-positional-arguments]
20+
pytest.skip(f"ORB not installed: {traceback.format_exc()}", allow_module_level=True)
2121

2222

2323
@pytest.fixture

tests/models/test_sevennet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
except ImportError:
2222
pytest.skip(
23-
f"sevenn not installed: {traceback.format_exc()}", # ty:ignore[too-many-positional-arguments]
23+
f"sevenn not installed: {traceback.format_exc()}",
2424
allow_module_level=True,
2525
)
2626

tests/test_elastic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
from torch_sim.models.mace import MaceModel
2424
except (ImportError, OSError, RuntimeError, AttributeError, ValueError):
25-
pytest.skip(f"MACE not installed: {traceback.format_exc()}", allow_module_level=True) # ty:ignore[too-many-positional-arguments]
25+
pytest.skip(f"MACE not installed: {traceback.format_exc()}", allow_module_level=True)
2626

2727

2828
def test_get_strain_zero_deformation(cu_sim_state: ts.SimState) -> None:

0 commit comments

Comments
 (0)