SCons: Bump minimum Python version (3.8 → 3.9)
This commit is contained in:
parent
0df713417b
commit
a206264d5b
4 changed files with 5 additions and 5 deletions
2
.github/workflows/linux_builds.yml
vendored
2
.github/workflows/linux_builds.yml
vendored
|
|
@ -160,7 +160,7 @@ jobs:
|
|||
uses: ./.github/actions/godot-deps
|
||||
with:
|
||||
# Sync with Ensure*Version in SConstruct.
|
||||
python-version: 3.8
|
||||
python-version: 3.9
|
||||
scons-version: 4.0
|
||||
|
||||
- name: Force remove preinstalled .NET SDKs
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ repos:
|
|||
types_or: [text]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.14.1 # Latest version that supports Python 3.8
|
||||
rev: v1.19.1
|
||||
hooks:
|
||||
- id: mypy
|
||||
files: \.py$
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
from misc.utility.scons_hints import *
|
||||
|
||||
EnsureSConsVersion(4, 0)
|
||||
EnsurePythonVersion(3, 8)
|
||||
EnsurePythonVersion(3, 9)
|
||||
|
||||
# System
|
||||
import glob
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@ warn_redundant_casts = true
|
|||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
exclude = ["thirdparty/"]
|
||||
python_version = "3.8"
|
||||
python_version = "3.9"
|
||||
|
||||
[tool.ruff]
|
||||
extend-exclude = ["thirdparty"]
|
||||
extend-include = ["*SConstruct", "*SCsub"]
|
||||
target-version = "py38"
|
||||
target-version = "py39"
|
||||
line-length = 120
|
||||
preview = true
|
||||
fix = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue