Unused function arguments marked with underscore _
are required to have type annotation
#18911
Labels
_
are required to have type annotation
#18911
Bug Report
Method in my class (a wrapper for mqtt library) is missing a type annotation for argument marked as unused in handler
no-untyped-def
To Reproduce
Expected Behavior
Annotating unused arguments does not seem to make sense.
Actual Behavior
Your Environment
mypy.ini
(and other config files):Part of
pyproject.toml
The text was updated successfully, but these errors were encountered: