Skip to content

Commit

Permalink
Use lowest supported Python version in pre-commit
Browse files Browse the repository at this point in the history
We should do formatting, linting, and so on
against the lowest Python version that we intend to support.
We want to make sure we do not introduce unsupported Python syntax.
Because Python is generally backwards-compatible
this should be good enough to lint against lowest version.
  • Loading branch information
fabcor-maxiv committed Jun 28, 2024
1 parent f591b3b commit 2f49bb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

default_language_version:
python: python3.10

python: python3.8 # This should be set to the lowest Python version that we support.

repos:

Expand Down

0 comments on commit 2f49bb1

Please sign in to comment.