Disable some checks from myppy

nagiosplugin has no stubs, it triggers some errors from mypy
This commit is contained in:
benoit 2021-09-09 17:17:25 +02:00
parent 863a238fd3
commit ba687b0e32

View file

@ -1,5 +1,10 @@
[mypy]
# nagiosplugin => Skipping analyzing "nagiosplugin": found module but no type hints or library stubs [import]
# ignore_missing_imports = true
# 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