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/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.12'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r dev-requirements.txt
|
run: pip install -r dev-requirements.txt
|
||||||
- name: Setup git user
|
- name: Setup git user
|
||||||
|
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -3,16 +3,16 @@
|
||||||
default: format
|
default: format
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
PYTHON?=py -3.8
|
PYTHON?=py -3.12
|
||||||
else
|
else
|
||||||
PYTHON?=python3
|
PYTHON?=python3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
$(PYTHON) -m black -t py38 --check --diff .
|
$(PYTHON) -m black -t py312 --check --diff .
|
||||||
|
|
||||||
format:
|
format:
|
||||||
$(PYTHON) -m black -t py38 .
|
$(PYTHON) -m black -t py312 .
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user