From b795df4c3a85798f1086ff3d47da12f6ce36f6cc Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 23 Jul 2024 18:09:00 +0300 Subject: [PATCH] specify python version [for pre-commit] --- .pre-commit-config.yaml | 5 +++-- .python-version | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .python-version diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eabbdc8..53cd0e2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,8 +14,9 @@ ci: # Consistency with other tools default_language_version: - node: lts - ruby: .ruby-version + node: "lts" + python: "3.12" + ruby: ".ruby-version" repos: - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..455808f --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12.4