Skip to content

Commit 2840db4

Browse files
committed
Updated flake8 dependency to support python 3.12
1 parent 4af6987 commit 2840db4

3 files changed

Lines changed: 54 additions & 3 deletions

File tree

.github/workflows/check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- name: Install dependencies
3434
run: poetry install -E crypto
3535
- name: Lint with flake8
36-
if: ${{ matrix.python-version != '3.12' }}
3736
run: poetry run flake8
3837
- name: Generate rest sync code and tests
3938
run: poetry run unasync

poetry.lock

Lines changed: 50 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ pytest = "^7.1"
5252
mock = "^4.0.3"
5353
pep8-naming = "^0.4.1"
5454
pytest-cov = "^2.4"
55-
flake8="*"
55+
flake8=[
56+
{ version = "3.9.2", python = ">=3.7, <3.12" },
57+
{ version = "7.0.0", python = "3.12" }
58+
]
5659
pytest-xdist = "^1.15"
5760
respx = "^0.20.0"
5861
importlib-metadata = "^4.12"

0 commit comments

Comments
 (0)