diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7097652..e293682 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,19 +1,19 @@ exclude: '.git|.tox' -default_stages: [commit] +default_stages: [pre-commit] fail_fast: true repos: - - repo: https://github.com/psf/black - rev: 22.8.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.11.0 hooks: - id: black - - repo: https://github.com/timothycrosley/isort - rev: 5.10.1 + - repo: https://github.com/PyCQA/isort + rev: 7.0.0 hooks: - id: isort - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.133 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.14.5 hooks: - id: ruff diff --git a/ase_md/__init__.py b/ase_md/__init__.py index b0e8f49..aac0e46 100644 --- a/ase_md/__init__.py +++ b/ase_md/__init__.py @@ -1,4 +1,5 @@ """ASE MD package.""" + import importlib.metadata import logging import sys diff --git a/ase_md/simulator.py b/ase_md/simulator.py index 2a72be5..c427735 100644 --- a/ase_md/simulator.py +++ b/ase_md/simulator.py @@ -5,6 +5,7 @@ https://wiki.fysik.dtu.dk/ase/tutorials/md/md.html """ + import typing import ase diff --git a/tests/test_asemd.py b/tests/test_asemd.py index d69bf1b..2f87118 100644 --- a/tests/test_asemd.py +++ b/tests/test_asemd.py @@ -1,4 +1,5 @@ """Test the ASEMD package.""" + import ase import ase_md