Closed calumy closed 2 years ago
Type checking fails with the response:
flake8_unused_arguments.py:265: error: Incompatible return value type (got "Union[str, bool]", expected "bool") [return-value]
This PR fixes this type issue by checking the name is a function attribute before checking it starts and ends with "__".
This is great! Thank you again Calum. The workflow for testing is awesome too.
I'm not going to do a new release for either PR, as there's no actual change to the plugin itself.
Type checking fails with the response:
This PR fixes this type issue by checking the name is a function attribute before checking it starts and ends with "__".