From 51eb72c65c4f7d8758d583b10a0f1fd30d18403a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 21:29:28 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v6.0.0) - [github.com/pycqa/isort: 5.10.1 → 9.0.0a3](https://github.com/pycqa/isort/compare/5.10.1...9.0.0a3) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 22.1.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/22.1.0...26.3.1) - [github.com/PyCQA/flake8: 4.0.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/4.0.1...7.3.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: From 7715b2c8bcf4de6527958f53009448544a1e1005 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 21:29:35 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiida_upgrade/__main__.py | 1 + aiida_upgrade/entry_points.py | 1 + aiida_upgrade/methods.py | 1 + tests/test_entry_points.py | 1 + tests/test_methods.py | 1 + 5 files changed, 5 insertions(+) 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