We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ruff --select "ANN001,ANN2" --fix-only (version 0.1.9) adds -> None to all functions in pyi files as they have no implementation in the stub files.
ruff --select "ANN001,ANN2" --fix-only
-> None
xref #9004 (comment)
The text was updated successfully, but these errors were encountered:
Thanks, will fix.
Sorry, something went wrong.
Avoid adding return types to stub methods (#9277)
fa78d2d
We should avoid adding `-> None` to stubs in `.pyi` files, along with a few other cases. (We already ignore abstract methods.) Closes #9270.
charliermarsh
Successfully merging a pull request may close this issue.
ruff --select "ANN001,ANN2" --fix-only
(version 0.1.9) adds-> None
to all functions in pyi files as they have no implementation in the stub files.xref #9004 (comment)
The text was updated successfully, but these errors were encountered: