Style: Update pyproject.toml syntax

This commit is contained in:
Thaddeus Crews 2024-11-14 11:15:41 -06:00
parent 76fa7b2914
commit 70d41e7cec
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -1,14 +1,14 @@
[tool.mypy] [tool.mypy]
ignore_missing_imports = true
disallow_any_generics = true disallow_any_generics = true
explicit_package_bases = true
ignore_missing_imports = true
namespace_packages = true
no_implicit_optional = true no_implicit_optional = true
pretty = true pretty = true
show_column_numbers = true show_column_numbers = true
warn_redundant_casts = true warn_redundant_casts = true
warn_return_any = true warn_return_any = true
warn_unreachable = true warn_unreachable = true
namespace_packages = true
explicit_package_bases = true
exclude = ["thirdparty/"] exclude = ["thirdparty/"]
python_version = "3.8" python_version = "3.8"
@ -42,50 +42,50 @@ section-order = [
] ]
[tool.codespell] [tool.codespell]
enable-colors = "" enable-colors = true
write-changes = "" write-changes = true
check-hidden = "" check-hidden = true
quiet-level = 3 quiet-level = 3
builtin = "clear,rare,en-GB_to_en-US" builtin = ["clear", "rare", "en-GB_to_en-US"]
skip = """\ skip = [
.mailmap, ".mailmap",
*.desktop, "*.desktop",
*.gitignore, "*.gitignore",
*.po, "*.po",
*.pot, "*.pot",
*.rc, "*.rc",
AUTHORS.md, "AUTHORS.md",
COPYRIGHT.txt, "COPYRIGHT.txt",
core/input/gamecontrollerdb.txt, "core/input/gamecontrollerdb.txt",
core/string/locales.h, "core/string/locales.h",
DONORS.md, "DONORS.md",
editor/project_converter_3_to_4.cpp, "editor/project_converter_3_to_4.cpp",
platform/android/java/lib/src/com/*, "platform/android/java/lib/src/com/*",
platform/web/package-lock.json "platform/web/package-lock.json",
""" ]
ignore-words-list = """\ ignore-words-list = [
breaked, "breaked",
cancelled, "cancelled",
checkin, "checkin",
colour, "colour",
curvelinear, "curvelinear",
doubleclick, "doubleclick",
expct, "expct",
findn, "findn",
gird, "gird",
hel, "hel",
inout, "inout",
labelin, "labelin",
lod, "lod",
mis, "mis",
nd, "nd",
numer, "numer",
ot, "ot",
outin, "outin",
parm, "parm",
requestor, "requestor",
te, "te",
textin, "textin",
thirdparty, "thirdparty",
vai "vai",
""" ]