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_writers
|
||||
]
|
||||
check_untyped_defs = true
|
||||
python_version = "3.10"
|
||||
strict = true
|
||||
show_column_numbers = true
|
||||
show_error_context = true
|
||||
strict_optional = true
|
||||
warn_redundant_casts = true
|
||||
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
|
||||
strict_equality = false
|
||||
warn_return_any = false
|
||||
enable_error_code = [
|
||||
"type-arg",
|
||||
"redundant-self",
|
||||
|
Loading…
Reference in New Issue
Block a user