Skip to content

Commit

Permalink
Add lint version pins - update gh wf
Browse files Browse the repository at this point in the history
  • Loading branch information
Gomez committed May 8, 2024
1 parent ea672d2 commit bdc5dca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# install black
- name: install black
run: pip install black
run: pip install -c constraints.txt black

# run black
- name: run black
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# install flake8
- name: install flake8
run: pip install flake8
run: pip install -c constraints.txt flake8

# run black
- name: run flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zpretty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# install zpretty
- name: install zpretty
run: pip install zpretty
run: pip install -c constraints.txt zpretty

# run zpretty
- name: run zpretty
Expand Down
3 changes: 3 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
black == 23.9.1
flake8 == 4.0.1
zpretty == 3.1.0

0 comments on commit bdc5dca

Please sign in to comment.