check-patroni/mypy.ini
Denis Laxalde 593278206a Let Mypy check all files
From previous commit, the test suite also type-checks.
2023-10-06 10:40:29 +02:00

28 lines
788 B
INI

[mypy]
files = .
show_error_codes = true
strict = true
exclude = build/
[mypy-setup]
ignore_errors = True
[mypy-nagiosplugin.*]
ignore_missing_imports = true
[mypy-check_patroni.types]
# no stubs for nagioplugin => ignore: Class cannot subclass "Resource" (has type "Any") [misc]
disallow_subclassing_any = false
[mypy-check_patroni.node]
# no subs for nagiosplugin => ignore: Class cannot subclass "Summary" (has type "Any") [misc]
disallow_subclassing_any = false
[mypy-check_patroni.cluster]
# no subs for nagiosplugin => ignore: Class cannot subclass "Summary" (has type "Any") [misc]
disallow_subclassing_any = false
[mypy-check_patroni.cli]
# no stubs for nagiosplugin => ignore: Untyped decorator makes function "main" untyped [misc]
disallow_untyped_decorators = false