Skip to content

Commit 91a2693

Browse files
author
y-p
committed
Merge pull request #6196 from bwignall/quickfix-find_undoc_args
CLN: Small spelling fixes in find_undoc_args.py
2 parents fb8e61e + 23a09fc commit 91a2693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/find_undoc_args.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
parser.add_argument('-m', '--module', metavar='MODULE', type=str,required=True,
2020
help='name of package to import and examine',action='store')
2121
parser.add_argument('-G', '--github_repo', metavar='REPO', type=str,required=False,
22-
help='github project where the the coe lives, e.g. "pydata/pandas"',
22+
help='github project where the the code lives, e.g. "pydata/pandas"',
2323
default=None,action='store')
2424

2525
args = parser.parse_args()
@@ -109,7 +109,7 @@ def main():
109109
if not args.path:
110110
args.path=os.path.dirname(module.__file__)
111111
collect=[cmp_docstring_sig(e) for e in entry_gen(module,module.__name__)]
112-
# only include if there are missing arguments in the docstring (less false positives)
112+
# only include if there are missing arguments in the docstring (fewer false positives)
113113
# and there are at least some documented arguments
114114
collect = [e for e in collect if e.undoc_names and len(e.undoc_names) != e.nsig_names]
115115
collect.sort(key=lambda x:x.path)

0 commit comments

Comments
 (0)