Skip to content

Commit

Permalink
Update to Flake8 6
Browse files Browse the repository at this point in the history
Flake8 6 requires `python>=3.8.1`, so the version constraint will be
updated accordingly. Apparently `python==3.8.0` had an issue with
`importlib.metadata`.

PyCQA/flake8#1741
https://flake8.pycqa.org/en/latest/release-notes/6.0.0.html
  • Loading branch information
br3ndonland committed Nov 26, 2022
1 parent 20eb205 commit 23503a5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -6,7 +6,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
args: [--max-line-length=88]
Expand Down
31 changes: 11 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Expand Up @@ -43,14 +43,14 @@ classifiers = [
]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8.1"
anyio = "^3.3"
httpx = {version = "^0.23", optional = true}

[tool.poetry.dev-dependencies]
black = "^22"
coverage = {version = "^6", extras = ["toml"]}
flake8 = "^5"
flake8 = "^6"
freezegun = "^1"
isort = "^5.8"
mkdocs-material = "^8"
Expand Down

0 comments on commit 23503a5

Please sign in to comment.