Skip to content

Commit ea9a3e7

Browse files
authored
feat: harmonization and import reshuffling (#50)
* refactor: some harmonization * refactor: shuffle imports around and fix all resulting errors * docs: modify new benchmark tutorial due to new import structure * ci: remove requirements.txt fixer from pre-commits * ci: upgrade ruff version
1 parent 1244e41 commit ea9a3e7

File tree

85 files changed

+293
-451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+293
-451
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ default_install_hook_types:
88

99
repos:
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.11.9
11+
rev: v0.13.0
1212
hooks:
13-
- id: ruff
13+
- id: ruff-check
1414
types_or: [python, pyi, jupyter]
15-
args: ["-v", "--config", "ruff.toml", "--fix"]
15+
args: ["--config", "ruff.toml", "--fix"]
1616
- id: ruff-format
1717
types_or: [python, pyi, jupyter]
1818

1919
- repo: https://github.com/pre-commit/pre-commit-hooks
2020
rev: v5.0.0
2121
hooks:
2222
- id: debug-statements # Check for debugger imports
23-
- id: requirements-txt-fixer # Order requirements alphabetically
2423
- id: check-ast # Simply check whether the files parse as valid python
2524
- id: check-case-conflict # Check for files that would conflict in case-insensitive filesystems
2625
- id: check-builtin-literals # Require literal syntax when initializing empty or zero Python builtin types

docs/source/api_reference/biomolecules/folding_stability.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Folding Stability
44
=================
55

6-
.. module:: mlipaudit.folding_stability.folding_stability
6+
.. module:: mlipaudit.benchmarks.folding_stability.folding_stability
77

88
.. autoclass:: FoldingStabilityBenchmark
99

docs/source/api_reference/biomolecules/sampling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Sampling
44
========
55

6-
.. module:: mlipaudit.sampling.sampling
6+
.. module:: mlipaudit.benchmarks.sampling.sampling
77

88
.. autoclass:: SamplingBenchmark
99

docs/source/api_reference/general/scaling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Scaling
44
=========
55

6-
.. module:: mlipaudit.scaling.scaling
6+
.. module:: mlipaudit.benchmarks.scaling.scaling
77

88
.. autoclass:: ScalingBenchmark
99

docs/source/api_reference/general/stability.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Stability
44
=========
55

6-
.. module:: mlipaudit.stability.stability
6+
.. module:: mlipaudit.benchmarks.stability.stability
77

88
.. autoclass:: StabilityBenchmark
99

docs/source/api_reference/small_molecules/bond_length_distribution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Bond length distribution
44
========================
55

6-
.. module:: mlipaudit.bond_length_distribution.bond_length_distribution
6+
.. module:: mlipaudit.benchmarks.bond_length_distribution.bond_length_distribution
77

88
.. autoclass:: BondLengthDistributionBenchmark
99

docs/source/api_reference/small_molecules/conformer_selection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Conformer Selection
44
===================
55

6-
.. module:: mlipaudit.conformer_selection.conformer_selection
6+
.. module:: mlipaudit.benchmarks.conformer_selection.conformer_selection
77

88
.. autoclass:: ConformerSelectionBenchmark
99

docs/source/api_reference/small_molecules/dihedral_scan.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Dihedral Scan
44
=============
55

6-
.. module:: mlipaudit.dihedral_scan.dihedral_scan
6+
.. module:: mlipaudit.benchmarks.dihedral_scan.dihedral_scan
77

88
.. autoclass:: DihedralScanBenchmark
99

docs/source/api_reference/small_molecules/minimization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Small molecule minimization
44
===========================
55

6-
.. module:: mlipaudit.small_molecule_minimization.small_molecule_minimization
6+
.. module:: mlipaudit.benchmarks.small_molecule_minimization.small_molecule_minimization
77

88
.. autoclass:: SmallMoleculeMinimizationBenchmark
99

docs/source/api_reference/small_molecules/noncovalent_interactions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Noncovalent Interactions
44
========================
55

6-
.. module:: mlipaudit.noncovalent_interactions.noncovalent_interactions
6+
.. module:: mlipaudit.benchmarks.noncovalent_interactions.noncovalent_interactions
77

88
.. autoclass:: NoncovalentInteractionsBenchmark
99

0 commit comments

Comments
 (0)