Add documentation to non-empty-stub-body (#7519)

## Summary

Add documentation to `non-empty-stub-body` (`PYI010`) rule. Related to
#2646.

## Test Plan

`python scripts/check_docs_formatted.py`
This commit is contained in:
Tom Kuson 2023-09-19 18:21:11 +01:00 committed by GitHub
parent 4ae463d04b
commit 36a60bd50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View file

@ -57,6 +57,7 @@ KNOWN_FORMATTING_VIOLATIONS = [
"no-indented-block-comment",
"no-space-after-block-comment",
"no-space-after-inline-comment",
"non-empty-stub-body",
"one-blank-line-after-class",
"over-indentation",
"over-indented",