Skip to content

Commit d1ce1b2

Browse files
authored
Remove debug print statements from tests and replace them with assertions (#210)
* remove debug print statements from tests and replace them with assertions, adjust ruff config to flag prints in package code * remove unused script docs/_static/get_module_graph_dot_file.py * replace assert statements with ValueError in multiple files * fix self-documenting f-string unsupported in torchscript * replace logging.info with print in autobatching.py * don't ruff ignore INP001 implicit-namespace-package * codecov unignore torch_sim/unbatched * primitive_neighbor_list raise RuntimeError not AssertionError on no atoms provided
1 parent db4782d commit d1ce1b2

22 files changed

+137
-559
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_install_hook_types: [pre-commit, commit-msg]
77

88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.11.12
10+
rev: v0.11.13
1111
hooks:
1212
- id: ruff
1313
args: [--fix]

codecov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
ignore: [torch_sim/unbatched]
2-
31
comment: false
42

53
coverage:

0 commit comments

Comments
 (0)