mirror of
https://github.com/systemd/systemd.git
synced 2024-12-21 13:34:21 +03:00
a2aacbfad5
This allows reusing them for integration-test-wrapper.py as well.
23 lines
571 B
INI
23 lines
571 B
INI
[mypy]
|
|
python_version = 3.9
|
|
# belonging to --strict
|
|
warn_unused_configs = true
|
|
disallow_any_generics = true
|
|
disallow_subclassing_any = true
|
|
disallow_untyped_calls = true
|
|
disallow_untyped_defs = true
|
|
disallow_untyped_decorators = true
|
|
disallow_incomplete_defs = true
|
|
check_untyped_defs = true
|
|
no_implicit_optional = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = false
|
|
warn_return_any = true
|
|
no_implicit_reexport = true
|
|
# extra options not in --strict
|
|
pretty = true
|
|
show_error_codes = true
|
|
show_column_numbers = true
|
|
warn_unreachable = true
|
|
strict_equality = true
|