summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorSpartan322 <Megacake1234@gmail.com>2024-11-15 14:24:07 -0500
committerSpartan322 <Megacake1234@gmail.com>2024-11-15 14:24:07 -0500
commit4a5836e5462554a738b502aa8bbde5e4a051eb56 (patch)
treed58eaa8daad3e30c8b84a50e70a21f93b05525c5 /pyproject.toml
parentac1a49725fc038ae11ef9060fecb2b0f9c6333b2 (diff)
parent6c05ec3d6732cac44cf85c91db7d3fd1075bcb23 (diff)
downloadredot-engine-4a5836e5462554a738b502aa8bbde5e4a051eb56.tar.gz
Merge commit godotengine/godot@6c05ec3d6732cac44cf85c91db7d3fd1075bcb23
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml102
1 files changed, 51 insertions, 51 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 603b4ee694..0b6d668214 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,14 +1,14 @@
[tool.mypy]
-ignore_missing_imports = true
disallow_any_generics = true
+explicit_package_bases = true
+ignore_missing_imports = true
+namespace_packages = true
no_implicit_optional = true
pretty = true
show_column_numbers = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
-namespace_packages = true
-explicit_package_bases = true
exclude = ["thirdparty/"]
python_version = "3.8"
@@ -16,7 +16,7 @@ python_version = "3.8"
extend-exclude = ["thirdparty"]
extend-include = ["SConstruct", "SCsub"]
line-length = 120
-target-version = "py37"
+target-version = "py38"
[tool.ruff.lint]
extend-select = [
@@ -42,51 +42,51 @@ section-order = [
]
[tool.codespell]
-enable-colors = ""
-write-changes = ""
-check-hidden = ""
+enable-colors = true
+write-changes = true
+check-hidden = true
quiet-level = 3
-builtin = "clear,rare,en-GB_to_en-US"
-skip = """\
- .mailmap,
- *.desktop,
- *.gitignore,
- *.po,
- *.pot,
- *.rc,
- AUTHORS.md,
- REDOT_AUTHORS.md,
- COPYRIGHT.txt,
- core/input/gamecontrollerdb.txt,
- core/string/locales.h,
- DONORS.md,
- editor/project_converter_3_to_4.cpp,
- platform/android/java/lib/src/com/*,
- platform/web/package-lock.json
-"""
-ignore-words-list = """\
- breaked,
- cancelled,
- checkin,
- colour,
- curvelinear,
- doubleclick,
- expct,
- findn,
- gird,
- hel,
- inout,
- labelin,
- lod,
- mis,
- nd,
- numer,
- ot,
- outin,
- parm,
- requestor,
- te,
- textin,
- thirdparty,
- vai
-"""
+builtin = ["clear", "rare", "en-GB_to_en-US"]
+skip = [
+ ".mailmap",
+ "*.desktop",
+ "*.gitignore",
+ "*.po",
+ "*.pot",
+ "*.rc",
+ "AUTHORS.md",
+ "REDOT_AUTHORS.md",
+ "COPYRIGHT.txt",
+ "core/input/gamecontrollerdb.txt",
+ "core/string/locales.h",
+ "DONORS.md",
+ "editor/project_converter_3_to_4.cpp",
+ "platform/android/java/lib/src/com/*",
+ "platform/web/package-lock.json",
+]
+ignore-words-list = [
+ "breaked",
+ "cancelled",
+ "checkin",
+ "colour",
+ "curvelinear",
+ "doubleclick",
+ "expct",
+ "findn",
+ "gird",
+ "hel",
+ "inout",
+ "labelin",
+ "lod",
+ "mis",
+ "nd",
+ "numer",
+ "ot",
+ "outin",
+ "parm",
+ "requestor",
+ "te",
+ "textin",
+ "thirdparty",
+ "vai",
+]