From 97434adcac53a78dc0197f18793e8e5d8233cfbd Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Tue, 12 Nov 2024 20:40:47 +0800 Subject: [PATCH] chore(deps): update python to 3.12 --- .github/workflows/main.yml | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5eea28..38e4804 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.12' - name: Install dependencies run: pip install -r dev-requirements.txt - name: Setup git user diff --git a/Makefile b/Makefile index a68b34d..039c464 100644 --- a/Makefile +++ b/Makefile @@ -3,16 +3,16 @@ default: format ifeq ($(OS),Windows_NT) -PYTHON?=py -3.8 +PYTHON?=py -3.12 else PYTHON?=python3 endif lint: - $(PYTHON) -m black -t py38 --check --diff . + $(PYTHON) -m black -t py312 --check --diff . format: - $(PYTHON) -m black -t py38 . + $(PYTHON) -m black -t py312 . .PHONY: test test: