Skip to content

Commit

Permalink
Set default python version to 3.8 (#8)
Browse files Browse the repository at this point in the history
We want to make sure that our minimum Python version 3.8 keeps working
  • Loading branch information
hofbi authored Aug 6, 2024
1 parent a22da67 commit 6077e0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
default_stages: [commit]
default_language_version:
python: python3.8

ci:
autoupdate_commit_msg: 'chore(deps): pre-commit.ci autoupdate'
Expand Down Expand Up @@ -99,7 +101,7 @@ repos:
hooks:
- id: mypy
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.16.0 # Last version to support Python 3.8
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand Down

0 comments on commit 6077e0c

Please sign in to comment.