Disable some checks from myppy
nagiosplugin has no stubs, it triggers some errors from mypy
This commit is contained in:
parent
863a238fd3
commit
ba687b0e32
9
mypy.ini
9
mypy.ini
|
@ -1,5 +1,10 @@
|
||||||
[mypy]
|
[mypy]
|
||||||
# nagiosplugin => Skipping analyzing "nagiosplugin": found module but no type hints or library stubs [import]
|
# no stubs for nagiosplugin => ignore: found module but no type hints or library stubs [import]
|
||||||
# ignore_missing_imports = true
|
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
|
show_error_codes = true
|
||||||
strict = true
|
strict = true
|
||||||
|
|
Loading…
Reference in a new issue