mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 19:58:28 +00:00
Address no-else-continue.
This commit is contained in:
parent
0f422db170
commit
73a0bf93d2
@ -384,7 +384,6 @@ disable=raw-checker-failed,
|
||||
consider-using-with,
|
||||
fixme,
|
||||
import-error, # TODO figure out why pylint cannot find the module
|
||||
no-else-continue,
|
||||
no-else-raise,
|
||||
no-else-return,
|
||||
no-member,
|
||||
|
||||
@ -543,7 +543,7 @@ def parse_events(stderr, dry_run=False, warn_function=None, nonzero_rc=False):
|
||||
line, warn_missing_dry_run_prefix, warn_function
|
||||
)
|
||||
continue
|
||||
elif parsed:
|
||||
if parsed:
|
||||
continue
|
||||
match = _RE_BUILD_PROGRESS_EVENT.match(line)
|
||||
if match:
|
||||
|
||||
@ -747,7 +747,7 @@ def _preprocess_mounts(module, values):
|
||||
check_collision(container, "volumes")
|
||||
new_vols.append(f"{host}:{container}:{mode}")
|
||||
continue
|
||||
elif len(parts) == 2:
|
||||
if len(parts) == 2:
|
||||
if not _is_volume_permissions(parts[1]) and re.match(
|
||||
r"[.~]", parts[0]
|
||||
):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user