Skip to content

Commit 2ff617a

Browse files
committed
Updated workflow files due to pre-commit docformatter regression in PyCQA/docformatter#287
1 parent b43abd1 commit 2ff617a

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.github/workflows/code-quality-main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

26+
- name: Install packages
27+
run: |
28+
pip install .[dev]
29+
2630
- name: Run pre-commits
2731
uses: pre-commit/[email protected]

.github/workflows/code-quality-pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

29+
- name: Install packages
30+
run: |
31+
pip install .[dev]
32+
2933
- name: Find modified files
3034
id: file_changes
3135
uses: trilom/[email protected]

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Install packages
3030
run: |
31-
pip install -e .[tests]
31+
pip install .[tests]
3232
3333
#----------------------------------------------
3434
# run test suite

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies = [
2323
[tool.setuptools_scm]
2424

2525
[project.optional-dependencies]
26-
dev = ["pre-commit"]
26+
dev = ["pre-commit<4"]
2727
tests = ["pytest", "pytest-cov", "rootutils", "hydra-joblib-launcher"]
2828
local_parallelism = ["hydra-joblib-launcher"]
2929
slurm_parallelism = ["hydra-submitit-launcher"]

0 commit comments

Comments
 (0)