From 8d83b70ef0d65c3dac5271c8d0e515dcb6eee9b0 Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Wed, 21 Jan 2026 09:30:12 +0000 Subject: [PATCH 1/2] ensure pre-commit CI workflow only uses pre-commit dependencies --- .github/workflows/project-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/project-ci.yaml b/.github/workflows/project-ci.yaml index 01d7f94..1f13add 100644 --- a/.github/workflows/project-ci.yaml +++ b/.github/workflows/project-ci.yaml @@ -65,7 +65,7 @@ jobs: - name: Install python dependencies run: | pip install --upgrade pip - pip install -e .[pre-commit,docs,testing] + pip install -e .[pre-commit] - name: Run pre-commit run: | pre-commit install From fe752efb1f27b13b171a83a2e1b2ab2463c0503d Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Wed, 21 Jan 2026 09:33:12 +0000 Subject: [PATCH 2/2] add all pre-commit dependencies to `pyproject.toml` --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9a6e1c5..f92683d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,9 +61,12 @@ testing = [ "pytest-cov>=7.0,<8.0", "pytest-sugar>=1.1,<2.0" ] - pre-commit = [ "pre-commit>=4.5,<5.0", + "black>=26.1,<27.0", + "flake8>=7.3,<8.0", + "flake8-pyproject>=1.2,<2.0", + "isort>=7.0,<8.0", "pylint>=4.0,<5.0" ] docs = [