You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/violation_codes.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
-[2. `DOC2xx`: Violations about return argument(s)](#2-doc2xx-violations-about-return-arguments)
11
11
-[3. `DOC3xx`: Violations about class docstring and class constructor](#3-doc3xx-violations-about-class-docstring-and-class-constructor)
12
12
-[4. `DOC4xx`: Violations about "yield" statements](#4-doc4xx-violations-about-yield-statements)
13
-
-[5. `DOC5xx`: Violations about "raise" statements](#5-doc5xx-violations-about-raise-statements)
13
+
-[5. `DOC5xx`: Violations about "raise" and "assert" statements](#5-doc5xx-violations-about-raise-and-assert-statements)
14
14
-[6. `DOC6xx`: Violations about class attributes](#6-doc6xx-violations-about-class-attributes)
15
15
16
16
<!--TOC-->
@@ -83,13 +83,14 @@ have a return section.
83
83
|`DOC403`| Function/method has a "Yields" section in the docstring, but there are no "yield" statements, or the return annotation is not a Generator/Iterator/Iterable |
84
84
|`DOC404`| The types in the docstring's Yields section and the return annotation in the signature are not consistent |
85
85
86
-
## 5. `DOC5xx`: Violations about "raise" statements
86
+
## 5. `DOC5xx`: Violations about "raise" and "assert" statements
0 commit comments