Address no-else-continue.

This commit is contained in:
Felix Fontein 2025-10-11 14:52:58 +02:00
parent 0f422db170
commit 73a0bf93d2
3 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -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:

View File

@ -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]
):