We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a7004 commit e809788Copy full SHA for e809788
numpydoc/validate.py
@@ -546,7 +546,7 @@ def validate(func_name):
546
)
547
548
this_desc = doc.parameter_desc(param)
549
- if not ''.join(this_desc):
+ if not "".join(this_desc):
550
errs.append(error("PR07", param_name=param))
551
else:
552
if this_desc[0][0].isalpha() and not this_desc[0][0].isupper():
@@ -556,8 +556,6 @@ def validate(func_name):
556
if this_desc[-1][-1] != "." and \
557
not this_desc[-1].startswith(IGNORE_STARTS):
558
errs.append(error("PR09", param_name=param))
559
- if param == 'axis':
560
- raise RuntimeError
561
562
if doc.is_function_or_method:
563
if not doc.returns:
0 commit comments