Skip to content

Commit 7148706

Browse files
committed
Pin flake8 runtime to Python 3.11 in pre-commit
This is since it explodes under Python 3.12 due to [[1]] currently. [1]: wemake-services/wemake-python-styleguide#2933
1 parent 5e31dbb commit 7148706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ repos:
121121
^docs/_samples/.*\.py$
122122
files: >-
123123
^.*\.p(xd|y|yx)$
124-
language_version: python3
124+
language_version: python3.11 # flake8-commas doesn't work w/ Python 3.12
125125
types:
126126
- file
127127

0 commit comments

Comments
 (0)