check-patroni/mypy.ini
benoit ba687b0e32 Disable some checks from myppy
nagiosplugin has no stubs, it triggers some errors from mypy
2021-09-09 17:17:25 +02:00

11 lines
433 B
INI

[mypy]
# no stubs for nagiosplugin => ignore: found module but no type hints or library stubs [import]
ignore_missing_imports = true
# no subs for nagiosplugin => ignore: Class cannot subclass "Summary" (has type "Any") [misc]
disallow_subclassing_any = false
# no stubs for nagiosplugin => ignore: Untyped decorator makes function "main" untyped [misc]
disallow_untyped_decorators = false
show_error_codes = true
strict = true