-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a false positive for
missing-param-doc
(#9740)
* Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters. Closes #9739 (cherry picked from commit 9cd5c37)
- Loading branch information
1 parent
bd4c8f1
commit dac28e7
Showing
4 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,3 @@ | ||
Fix a false positive for ``missing-param-doc`` where a method which is decorated with ``typing.overload`` was expected to have a docstring specifying its parameters. | ||
|
||
Closes #9739 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 1,15 @@ | ||
missing-any-param-doc:3:0:3:11:foobar1:"Missing any documentation in ""foobar1""":HIGH | ||
missing-any-param-doc:8:0:8:11:foobar2:"Missing any documentation in ""foobar2""":HIGH | ||
missing-param-doc:15:0:15:11:foobar3:"""arg2"" missing in parameter documentation":HIGH | ||
missing-type-doc:15:0:15:11:foobar3:"""arg2"" missing in parameter type documentation":HIGH | ||
missing-param-doc:24:0:24:11:foobar4:"""arg2"" missing in parameter documentation":HIGH | ||
missing-type-doc:24:0:24:11:foobar4:"""arg2"" missing in parameter type documentation":HIGH | ||
missing-type-doc:33:0:33:11:foobar5:"""arg1"" missing in parameter type documentation":HIGH | ||
missing-param-doc:43:0:43:11:foobar6:"""arg3"" missing in parameter documentation":HIGH | ||
missing-type-doc:43:0:43:11:foobar6:"""arg3"" missing in parameter type documentation":HIGH | ||
missing-any-param-doc:53:0:53:11:foobar7:"Missing any documentation in ""foobar7""":HIGH | ||
missing-any-param-doc:61:0:61:11:foobar8:"Missing any documentation in ""foobar8""":HIGH | ||
missing-type-doc:76:0:76:12:foobar10:"""arg1, arg3"" missing in parameter type documentation":HIGH | ||
missing-any-param-doc:88:0:88:12:foobar11:"Missing any documentation in ""foobar11""":HIGH | ||
missing-param-doc:97:0:97:12:foobar12:"""arg3"" missing in parameter documentation":HIGH | ||
missing-type-doc:97:0:97:12:foobar12:"""arg2, arg3"" missing in parameter type documentation":HIGH | ||
missing-any-param-doc:7:0:7:11:foobar1:"Missing any documentation in ""foobar1""":HIGH | ||
missing-any-param-doc:12:0:12:11:foobar2:"Missing any documentation in ""foobar2""":HIGH | ||
missing-param-doc:19:0:19:11:foobar3:"""arg2"" missing in parameter documentation":HIGH | ||
missing-type-doc:19:0:19:11:foobar3:"""arg2"" missing in parameter type documentation":HIGH | ||
missing-param-doc:28:0:28:11:foobar4:"""arg2"" missing in parameter documentation":HIGH | ||
missing-type-doc:28:0:28:11:foobar4:"""arg2"" missing in parameter type documentation":HIGH | ||
missing-type-doc:37:0:37:11:foobar5:"""arg1"" missing in parameter type documentation":HIGH | ||
missing-param-doc:47:0:47:11:foobar6:"""arg3"" missing in parameter documentation":HIGH | ||
missing-type-doc:47:0:47:11:foobar6:"""arg3"" missing in parameter type documentation":HIGH | ||
missing-any-param-doc:57:0:57:11:foobar7:"Missing any documentation in ""foobar7""":HIGH | ||
missing-any-param-doc:65:0:65:11:foobar8:"Missing any documentation in ""foobar8""":HIGH | ||
missing-type-doc:80:0:80:12:foobar10:"""arg1, arg3"" missing in parameter type documentation":HIGH | ||
missing-any-param-doc:92:0:92:12:foobar11:"Missing any documentation in ""foobar11""":HIGH | ||
missing-param-doc:101:0:101:12:foobar12:"""arg3"" missing in parameter documentation":HIGH | ||
missing-type-doc:101:0:101:12:foobar12:"""arg2, arg3"" missing in parameter type documentation":HIGH |