mirror of
https://github.com/godotengine/godot
synced 2024-09-05 10:48:25 +00:00
30 lines
615 B
TOML
30 lines
615 B
TOML
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
disallow_any_generics = 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/"]
|
|
|
|
[tool.ruff]
|
|
extend-exclude = ["thirdparty"]
|
|
extend-include = ["SConstruct", "SCsub"]
|
|
line-length = 120
|
|
target-version = "py37"
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = [
|
|
"I", # isort
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"{SConstruct,SCsub}" = [
|
|
"E402", # Module level import not at top of file
|
|
"F821", # Undefined name
|
|
]
|