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 bc499b8 commit c1fd509Copy full SHA for c1fd509
nipype/info.py
@@ -167,12 +167,15 @@ def get_nipype_gitversion():
167
# 'mesh': ['mayavi'] # Enable when it works
168
}
169
170
-_list_union = lambda x: list(set(sum(x, [])))
+
171
+def _list_union(iterable):
172
+ return list(set(sum(iterable, [])))
173
174
175
# Enable a handle to install all extra dependencies at once
176
EXTRA_REQUIRES['all'] = _list_union(EXTRA_REQUIRES.values())
177
# dev = doc + tests + specs
-EXTRA_REQUIRES['dev'] = _list_union(EXTRA_REQUIRES[key]
- for key in ('doc', 'tests', 'specs'))
178
+EXTRA_REQUIRES['dev'] = _list_union(val for key, val in EXTRA_REQUIRES.items()
179
+ if key in ('doc', 'tests', 'specs'))
180
181
STATUS = 'stable'
0 commit comments