Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore ANN101 in flake8 #8

Closed
Curt-Park opened this issue Feb 6, 2022 · 0 comments · Fixed by #9
Closed

Ignore ANN101 in flake8 #8

Curt-Park opened this issue Feb 6, 2022 · 0 comments · Fixed by #9
Labels
enhancement New feature or request

Comments

@Curt-Park
Copy link
Contributor

ANN101 forces to annotate the type of self in class methods.
It's too verbose, so we usually ignore the type annotation for self.

See PEP-673

this is verbose and unintuitive. Because self is usually not explicitly annotated, the above solution doesn't immediately come to mind, ...
@Curt-Park Curt-Park added the enhancement New feature or request label Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant