From 1a2a88b252156575ad4bf1c311822c9183f118e2 Mon Sep 17 00:00:00 2001 From: Sergey Kozub Date: Wed, 11 Sep 2024 12:42:07 +0200 Subject: [PATCH] [CI] Bump python version for pre-commit to 3.12 --- .github/workflows/test.yml | 4 ++-- .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67327b1c..16df107a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.12 - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # ratchet: pre-commit/action@v3 build: name: ${{ matrix.os }} Python ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03115d3a..4bd172af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: rev: 8383e5df6527cc1173183875258347be0a7e07c0 # frozen: 24.3.0 hooks: - id: pyink - language_version: python3.9 + language_version: python3.12 args: [ "--line-length=80", "--preview",