浏览代码

Bump target python version to 3.8 in Makefile

zerolab 1 年之前
父节点
当前提交
eb0fbdbb9e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -18,7 +18,7 @@ develop: clean-pyc
 	npm install --no-save && npm run build
 
 lint-server:
-	black --target-version py37 --check --diff .
+	black --target-version py38 --check --diff .
 	ruff check .
 	semgrep --config .semgrep.yml --error .
 	curlylint --parse-only wagtail
@@ -35,7 +35,7 @@ lint-docs:
 lint: lint-server lint-client lint-docs
 
 format-server:
-	black --target-version py37 .
+	black --target-version py38 .
 	ruff check . --fix
 	git ls-files '*.html' | xargs djhtml -i