mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 16:15:19 -05:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user