mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-29 16:33:46 +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,
|
consider-using-with,
|
||||||
fixme,
|
fixme,
|
||||||
import-error, # TODO figure out why pylint cannot find the module
|
import-error, # TODO figure out why pylint cannot find the module
|
||||||
no-else-continue,
|
|
||||||
no-else-raise,
|
no-else-raise,
|
||||||
no-else-return,
|
no-else-return,
|
||||||
no-member,
|
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
|
line, warn_missing_dry_run_prefix, warn_function
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
elif parsed:
|
if parsed:
|
||||||
continue
|
continue
|
||||||
match = _RE_BUILD_PROGRESS_EVENT.match(line)
|
match = _RE_BUILD_PROGRESS_EVENT.match(line)
|
||||||
if match:
|
if match:
|
||||||
|
|||||||
@ -747,7 +747,7 @@ def _preprocess_mounts(module, values):
|
|||||||
check_collision(container, "volumes")
|
check_collision(container, "volumes")
|
||||||
new_vols.append(f"{host}:{container}:{mode}")
|
new_vols.append(f"{host}:{container}:{mode}")
|
||||||
continue
|
continue
|
||||||
elif len(parts) == 2:
|
if len(parts) == 2:
|
||||||
if not _is_volume_permissions(parts[1]) and re.match(
|
if not _is_volume_permissions(parts[1]) and re.match(
|
||||||
r"[.~]", parts[0]
|
r"[.~]", parts[0]
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user