Ignore pass-statement-stub-body documentation formatting (#7497)

## 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`
This commit is contained in:
Tom Kuson 2023-09-18 19:27:20 +01:00 committed by GitHub
parent bccba5d73f
commit 359f50e6dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,7 @@ KNOWN_FORMATTING_VIOLATIONS = [
"one-blank-line-after-class",
"over-indentation",
"over-indented",
"pass-statement-stub-body",
"prohibited-trailing-comma",
"shebang-leading-whitespace",
"surrounding-whitespace",