From 2f49bb1001a501c7e6e4bec6df547fbfc421ac21 Mon Sep 17 00:00:00 2001 From: fabcor Date: Fri, 28 Jun 2024 13:35:33 +0200 Subject: [PATCH] Use lowest supported Python version in pre-commit 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. --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 767357ee1..a7741c765 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: