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
.pyi
# asdf.pyi def asdf(): ...
>ruff asdf.pyi asdf.pyi:1:5: D103 Missing docstring in public function Found 1 error.
when adding a docstring, it triggers PYI021:
PYI021
def asdf(): """asdf"""
>ruff asdf.pyi asdf.pyi:2:5: PYI021 Docstrings should not be included in stubs Found 1 error.
The text was updated successfully, but these errors were encountered:
Don't require docstrings in .pyi files (#6239)
1a85953
Closes #6224.
Successfully merging a pull request may close this issue.
when adding a docstring, it triggers
PYI021
:The text was updated successfully, but these errors were encountered: