From 08df9efe029973ee9b420614d5c01cb2d04d36f3 Mon Sep 17 00:00:00 2001 From: AstreaTSS <25420078+AstreaTSS@users.noreply.github.com> Date: Sat, 8 Jun 2024 13:29:18 -0400 Subject: [PATCH 1/2] ci: specify language_version for python 3.10 --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11b93e104..4e15b93ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,6 +34,7 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] + language_version: python3.10 - repo: https://github.com/psf/black rev: 24.2.0 hooks: @@ -41,6 +42,7 @@ repos: name: Black Formatting language: python types: [ file, python ] + language_version: python3.10 # - repo: https://github.com/pycqa/isort # rev: 5.11.4 # hooks: From d96951ef78e74f1bc3eb9304aa743cdbc722c98b Mon Sep 17 00:00:00 2001 From: AstreaTSS <25420078+AstreaTSS@users.noreply.github.com> Date: Sat, 8 Jun 2024 13:34:45 -0400 Subject: [PATCH 2/2] ci: make everything use 3.10 --- .pre-commit-config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e15b93ef..2a40c0045 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - language_version: python3.10 + language: python - repo: https://github.com/psf/black rev: 24.2.0 hooks: @@ -42,7 +42,6 @@ repos: name: Black Formatting language: python types: [ file, python ] - language_version: python3.10 # - repo: https://github.com/pycqa/isort # rev: 5.11.4 # hooks: @@ -50,6 +49,9 @@ repos: # name: isort Formatting # language: python # types: [file, python] + +default_language_version: + python: python3.10 ci: autoupdate_branch: "unstable" autofix_prs: true