Skip to content

Commit

Permalink
Pin flake8<=6.0.0
Browse files Browse the repository at this point in the history
The latest veresion of flake8 (6.1.0) is incompatible with
flake8-pyproject. This breaks CI and also local pre-commit checks.
  • Loading branch information
elevans committed Aug 1, 2023
1 parent 93fa157 commit 6dd7778
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Flake code
run: |
python -m pip install flake8 Flake8-pyproject flake8-typing-imports
python -m pip install 'flake8<=6.0.0' Flake8-pyproject flake8-typing-imports
python -m flake8 src tests
- name: Check import ordering
Expand Down
2 changes: 1 addition & 1 deletion dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies:
- autopep8
- black
- build
- flake8
- flake8 <= 6.0.0
- flake8-typing-imports
- isort
- myst-nb
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dev = [
"autopep8",
"black",
"build",
"flake8",
"flake8 <= 6.0.0",
"flake8-pyproject",
"flake8-typing-imports",
"isort",
Expand Down

0 comments on commit 6dd7778

Please sign in to comment.