Skip to content

Commit 71855eb

Browse files
committed
appease pre-commit
1 parent abcd37c commit 71855eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

numpydoc/validate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def type(self):
276276
@property
277277
def is_function_or_method(self):
278278
return inspect.isfunction(self.obj)
279-
279+
280280
@property
281281
def is_mod(self):
282282
return inspect.ismodule(self.obj)
@@ -747,7 +747,6 @@ def validate(obj_name, validator_cls=None, **validator_kwargs):
747747
errs.append(error("YD01"))
748748

749749
if not doc.is_mod:
750-
751750
if not doc.see_also:
752751
errs.append(error("SA01"))
753752
else:

0 commit comments

Comments
 (0)