Skip to content

Commit aa45e75

Browse files
committed
MNT: Fix SyntaxError, and disable telemetry for checkspecs.py
1 parent 8e7e15a commit aa45e75

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: tools/checkspecs.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import sys
99
import warnings
1010

11-
from nipype.interfaces.base import BaseInterface
12-
1311
import black
1412

1513

@@ -182,6 +180,8 @@ def test_specs(self, uri):
182180
Returns
183181
-------
184182
"""
183+
from nipype.interfaces.base import BaseInterface
184+
185185
# get the names of all classes and functions
186186
_, classes = self._parse_module(uri)
187187
if not classes:
@@ -480,6 +480,7 @@ def check_modules(self):
480480

481481

482482
if __name__ == "__main__":
483+
os.environ["NIPYPE_NO_ET"] = "1"
483484
package = "nipype"
484485
ic = InterfaceChecker(package)
485486
# Packages that should not be included in generated API docs.

0 commit comments

Comments
 (0)