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

Add documentation to pass-statement-stub-body #7496

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

tjkuson
Copy link
Contributor

@tjkuson tjkuson commented Sep 18, 2023

Summary

Add documentation to pass-statement-stub-body (PYI009) rule. Related to #2646.

Test Plan

python scripts/check_docs_formatted.py

@charliermarsh charliermarsh enabled auto-merge (squash) September 18, 2023 17:11
@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Sep 18, 2023
@charliermarsh charliermarsh merged commit 0bfdb15 into astral-sh:main Sep 18, 2023
15 of 16 checks passed
charliermarsh pushed a commit that referenced this pull request Sep 18, 2023
## Summary

Fix CI (broken in #7496).

The code snippet was formatted as Black would format a stub file, but
the CI script doesn't know that (it assumes all code snippets are
non-stub files). Easier to ignore.

Sorry for breaking CI!

## Test Plan

`python scripts/check_docs_formatted.py`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants