check-patroni/mypy.ini

28 lines
788 B
INI
Raw Permalink Normal View History

2021-08-11 19:09:14 +02:00
[mypy]
files = .
2022-07-11 15:55:19 +02:00
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
2022-07-11 15:55:19 +02:00
[mypy-check_patroni.cli]
# no stubs for nagiosplugin => ignore: Untyped decorator makes function "main" untyped [misc]
disallow_untyped_decorators = false