浏览代码

chore(deps): update python to 3.12

NateScarlet 11 月之前
父节点
当前提交
97434adcac
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/main.yml
  2. 3 3
      Makefile

+ 1 - 1
.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

+ 3 - 3
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: