Skip to content

Commit 9c8fa88

Browse files
committed
ignoring mypy errors in private click parser
1 parent edd2b62 commit 9c8fa88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neurodocker/cli/generate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ def parser_process(value, state: ParsingState):
146146
done = False
147147
value = [value]
148148
# grab everything up to the next option
149-
while state.rargs and not done:
149+
while state.rargs and not done: # type: ignore[attr-defined]
150150
for prefix in self._eat_all_parser.prefixes:
151-
if state.rargs[0].startswith(prefix):
151+
if state.rargs[0].startswith(prefix): # type: ignore[attr-defined]
152152
done = True
153153
if not done:
154-
value.append(state.rargs.pop(0))
154+
value.append(state.rargs.pop(0)) # type: ignore[attr-defined]
155155
value = tuple(value)
156156
# call the actual process
157157
self._previous_parser_process(value, state)

0 commit comments

Comments
 (0)