Skip to content

Commit 3442e9e

Browse files
authored
Pin docformatter to 1.5.1 in workflows and <1.6.0 in environment.yml (#2482)
1 parent aaa0ca0 commit 3442e9e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/format-command.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Install formatting tools
2929
- name: Install formatting tools
3030
run: |
31-
pip install black blackdoc docformatter flakeheaven isort
31+
pip install black blackdoc docformatter==1.5.1 flakeheaven isort
3232
sudo apt-get install dos2unix
3333
3434
# Run "make format" and commit the change to the PR branch

.github/workflows/style_checks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Install packages
2828
run: |
29-
pip install black blackdoc docformatter flakeheaven pylint isort
29+
pip install black blackdoc docformatter==1.5.1 flakeheaven pylint isort
3030
sudo apt-get install dos2unix
3131
3232
- name: Formatting check (black, blackdoc, docformatter, flakeheaven and isort)

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
# Dev dependencies (style checks)
2525
- black
2626
- blackdoc
27-
- docformatter>=1.5.0
27+
- docformatter>=1.5.0,<1.6.0
2828
- flakeheaven>=3
2929
- isort>=5
3030
- pylint

0 commit comments

Comments
 (0)