Skip to content

Commit

Permalink
style(remote-build): remove disabled lint
Browse files Browse the repository at this point in the history
Signed-off-by: Callahan Kovacs <[email protected]>
  • Loading branch information
mr-cal committed Oct 6, 2023
1 parent ca18d1a commit 1d71dfd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions snapcraft/remote/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
def validate_architectures(architectures: List[str]) -> None:
"""Validate that architectures are supported for remote building.
:param architectures: list of architectures to Validate
:param architectures: list of architectures to validate
:raises UnsupportedArchitectureError: if any architecture in the list in not
supported for remote building.
Expand Down Expand Up @@ -138,10 +138,7 @@ def rmtree(directory: Path) -> None:
:param directory: Directory to remove.
"""
shutil.rmtree(
str(directory.resolve()),
onerror=_remove_readonly, # type: ignore
)
shutil.rmtree(str(directory.resolve()), onerror=_remove_readonly)


def _remove_readonly(func, filepath, _):
Expand Down

0 comments on commit 1d71dfd

Please sign in to comment.