Skip to content

Conversation

@hoodmane
Copy link
Collaborator

Resolves #286.

if (
"return" in type_hints
and not inspect.isclass(original_obj)
and not inspect.isdatadescriptor(original_obj) # noqa: SC200 # Possibly misspelt word: 'isdatadescriptor'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add this word to whitelist.txt instead.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. We also need to add getitem there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants