We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd2b62 commit 9c8fa88Copy full SHA for 9c8fa88
neurodocker/cli/generate.py
@@ -146,12 +146,12 @@ def parser_process(value, state: ParsingState):
146
done = False
147
value = [value]
148
# grab everything up to the next option
149
- while state.rargs and not done:
+ while state.rargs and not done: # type: ignore[attr-defined]
150
for prefix in self._eat_all_parser.prefixes:
151
- if state.rargs[0].startswith(prefix):
+ if state.rargs[0].startswith(prefix): # type: ignore[attr-defined]
152
done = True
153
if not done:
154
- value.append(state.rargs.pop(0))
+ value.append(state.rargs.pop(0)) # type: ignore[attr-defined]
155
value = tuple(value)
156
# call the actual process
157
self._previous_parser_process(value, state)
0 commit comments