Skip to content

Commit

Permalink
Ignore pass-statement-stub-body documentation formatting (#7497)
Browse files Browse the repository at this point in the history
## 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`
  • Loading branch information
tjkuson authored Sep 18, 2023
1 parent bccba5d commit 359f50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/check_docs_formatted.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"one-blank-line-after-class",
"over-indentation",
"over-indented",
"pass-statement-stub-body",
"prohibited-trailing-comma",
"shebang-leading-whitespace",
"surrounding-whitespace",
Expand Down

0 comments on commit 359f50e

Please sign in to comment.