Skip to content

Commit 05f1f08

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4c09020 commit 05f1f08

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pydra/tasks/fsl/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def _docdir(request):
2626
# Trigger ONLY for the doctests.
2727
doctest_plugin = request.config.pluginmanager.getplugin("doctest")
2828
if isinstance(request.node, doctest_plugin.DoctestItem):
29-
3029
# Get the fixture dynamically by its name.
3130
tmpdir = pp.local(data_dir)
3231

tools/converter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020

2121
class FSLConverter:
22-
2322
INPUT_KEYS = [
2423
"allowed_values",
2524
"argstr",
@@ -138,7 +137,7 @@ def types_to_names(spec_fields):
138137
el = list(el)
139138
try:
140139
el[1] = el[1].__name__
141-
except (AttributeError):
140+
except AttributeError:
142141
el[1] = el[1]._name
143142
spec_fields_str.append(tuple(el))
144143
return spec_fields_str

0 commit comments

Comments
 (0)