chore(deps): update python to 3.12
This commit is contained in:
parent
6d06f199f8
commit
97434adcac
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
6
Makefile
6
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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user