File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/test_flake8_params_ Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def check_params(
124124 docstring_set = set (docstring_args )
125125 if signature_set == docstring_set :
126126 # Wrong order or duplicated
127- docstring_counts = {k : v for k , v in Counter (docstring_set ).items () if v > 1 }
127+ docstring_counts = {k : v for k , v in Counter (docstring_args ).items () if v > 1 }
128128
129129 if docstring_counts :
130130 return PRM003 + ": " + ' ' .join (sorted (docstring_counts .keys ()))
Original file line number Diff line number Diff line change 1919311:0: PRM002 Missing parameters in docstring: **baz
2020356:1: PRM002 Missing parameters in docstring: a b c
2121372:1: PRM002 Missing parameters in docstring: swallow
22- 404:0: PRM001 Docstring parameters in wrong order.
22+ 404:0: PRM003 Extra parameters in docstring: tree
You can’t perform that action at this time.
0 commit comments