chore(deps): update python to 3.12

This commit is contained in:
NateScarlet 2024-11-12 20:40:47 +08:00
parent 6d06f199f8
commit 97434adcac
No known key found for this signature in database
GPG Key ID: 5C242793B070309C
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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: