diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24bcb48..7ef5421 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,17 +13,17 @@ repos: - id: check-added-large-files - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 9.0.0a3 hooks: - id: isort -- repo: https://github.com/psf/black - rev: 22.1.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: diff --git a/aiida_upgrade/__main__.py b/aiida_upgrade/__main__.py index 960024f..fd7f816 100644 --- a/aiida_upgrade/__main__.py +++ b/aiida_upgrade/__main__.py @@ -1,4 +1,5 @@ """Main entry-point for CLI.""" + import sys from pathlib import Path diff --git a/aiida_upgrade/entry_points.py b/aiida_upgrade/entry_points.py index 3967207..fa8cd09 100644 --- a/aiida_upgrade/entry_points.py +++ b/aiida_upgrade/entry_points.py @@ -8,6 +8,7 @@ # For further information please visit http://www.aiida.net # ########################################################################### """Transformers for upgrading AiiDA entry points.""" + import re import libcst as cst diff --git a/aiida_upgrade/methods.py b/aiida_upgrade/methods.py index 5f4b1c1..b4be2d7 100644 --- a/aiida_upgrade/methods.py +++ b/aiida_upgrade/methods.py @@ -8,6 +8,7 @@ # For further information please visit http://www.aiida.net # ########################################################################### """Transformers for upgrading AiiDA methods.""" + import libcst as cst from libcst import matchers diff --git a/tests/test_entry_points.py b/tests/test_entry_points.py index 0aa3b96..0f1ac7e 100644 --- a/tests/test_entry_points.py +++ b/tests/test_entry_points.py @@ -8,6 +8,7 @@ # For further information please visit http://www.aiida.net # ########################################################################### """Tests for the transformers for upgrading AiiDA entry points.""" + import libcst as cst import pytest diff --git a/tests/test_methods.py b/tests/test_methods.py index 2107d8a..c29e23a 100644 --- a/tests/test_methods.py +++ b/tests/test_methods.py @@ -8,6 +8,7 @@ # For further information please visit http://www.aiida.net # ########################################################################### """Tests for the transformers for upgrading AiiDA entry points.""" + import libcst as cst import pytest