Skip to content

Commit e809788

Browse files
committed
BUG: Debug cruft
1 parent 86a7004 commit e809788

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

numpydoc/validate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def validate(func_name):
546546
)
547547
)
548548
this_desc = doc.parameter_desc(param)
549-
if not ''.join(this_desc):
549+
if not "".join(this_desc):
550550
errs.append(error("PR07", param_name=param))
551551
else:
552552
if this_desc[0][0].isalpha() and not this_desc[0][0].isupper():
@@ -556,8 +556,6 @@ def validate(func_name):
556556
if this_desc[-1][-1] != "." and \
557557
not this_desc[-1].startswith(IGNORE_STARTS):
558558
errs.append(error("PR09", param_name=param))
559-
if param == 'axis':
560-
raise RuntimeError
561559

562560
if doc.is_function_or_method:
563561
if not doc.returns:

0 commit comments

Comments
 (0)