Skip to content

Commit

Permalink
Unpin flake8<=6.0.0 and update pre-commit
Browse files Browse the repository at this point in the history
The dev from flake8-pyproject can't reproduce
the flake8 version 6.1.0 incompatability I reported.
I tried again on my system and I also can't seem to reproduce it
anymore. Not sure why. I updated pre-commit as it was using too of
a version and was giving me issues.
  • Loading branch information
elevans committed Aug 2, 2023
1 parent 00c5e13 commit b6083f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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<=6.0.0' Flake8-pyproject flake8-typing-imports
python -m pip install flake8 Flake8-pyproject flake8-typing-imports
python -m flake8 src tests
- name: Check import ordering
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports"]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
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 <= 6.0.0
- flake8
- 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 <= 6.0.0",
"flake8",
"flake8-pyproject",
"flake8-typing-imports",
"isort",
Expand Down

0 comments on commit b6083f0

Please sign in to comment.