mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Simplify mypy settings (#12823)
This commit is contained in:
parent
6a07bfcb78
commit
bb2c4e9bac
@ -196,22 +196,12 @@ exclude = [
|
|||||||
"^tests/test_util/typing_test_data\\.py$",
|
"^tests/test_util/typing_test_data\\.py$",
|
||||||
# tests/test_writers
|
# tests/test_writers
|
||||||
]
|
]
|
||||||
check_untyped_defs = true
|
|
||||||
python_version = "3.10"
|
python_version = "3.10"
|
||||||
|
strict = true
|
||||||
show_column_numbers = true
|
show_column_numbers = true
|
||||||
show_error_context = true
|
show_error_context = true
|
||||||
strict_optional = true
|
strict_equality = false
|
||||||
warn_redundant_casts = true
|
warn_return_any = false
|
||||||
warn_unused_configs = true
|
|
||||||
warn_unused_ignores = true
|
|
||||||
disallow_any_generics = true
|
|
||||||
disallow_incomplete_defs = true
|
|
||||||
disallow_subclassing_any = true
|
|
||||||
disallow_untyped_calls = true
|
|
||||||
disallow_untyped_decorators = true
|
|
||||||
disallow_untyped_defs = true
|
|
||||||
no_implicit_reexport = true
|
|
||||||
extra_checks = true
|
|
||||||
enable_error_code = [
|
enable_error_code = [
|
||||||
"type-arg",
|
"type-arg",
|
||||||
"redundant-self",
|
"redundant-self",
|
||||||
|
Loading…
Reference in New Issue
Block a user