Skip to content

Commit 44bd852

Browse files
Set a valid Python version for pre-commit
1 parent 1275914 commit 44bd852

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ exclude: |
33
doc/.*|
44
bin/.*
55
)$
6+
default_language_version:
7+
python: python3.8
68
repos:
79
- repo: https://github.com/pre-commit/pre-commit-hooks
810
rev: v4.4.0
@@ -21,12 +23,11 @@ repos:
2123
rev: v3.3.1
2224
hooks:
2325
- id: pyupgrade
24-
args: ["--py38-plus"]
26+
args: ["--py38-plus"]
2527
- repo: https://github.com/psf/black
2628
rev: 23.3.0
2729
hooks:
2830
- id: black
29-
language_version: python3
3031
- repo: https://github.com/pycqa/flake8
3132
rev: 6.0.0
3233
hooks:

0 commit comments

Comments
 (0)