diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 160104d..149a768 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-merge-conflict # checks for files that contain merge conflict strings - id: check-toml # checks toml files for parseable syntax @@ -13,23 +13,23 @@ repos: # exclude: 'oommfc/tests/test_sample/.*' - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.0 + rev: 1.8.5 hooks: - id: nbqa-isort # isort inside Jupyter notebooks - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: [flake8-rst-docstrings] #, flake8-docstrings] - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 24.4.2 hooks: - id: black-jupyter diff --git a/oommfc/__init__.py b/oommfc/__init__.py index 1f066ac..5312d3f 100644 --- a/oommfc/__init__.py +++ b/oommfc/__init__.py @@ -1,4 +1,5 @@ """OOMMF calculator.""" + import importlib.metadata import pytest diff --git a/oommfc/oommf/__init__.py b/oommfc/oommf/__init__.py index 206c09b..8767bb5 100644 --- a/oommfc/oommf/__init__.py +++ b/oommfc/oommf/__init__.py @@ -1,4 +1,5 @@ """OOMMF driving utility""" + from .oommf import ( DockerOOMMFRunner, ExeOOMMFRunner, diff --git a/tasks.py b/tasks.py index f87b680..d2d55c5 100644 --- a/tasks.py +++ b/tasks.py @@ -1,4 +1,5 @@ """Tasks to release the package.""" + import os import shutil