Skip to content

Commit

Permalink
style: isort and black
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbraun89 authored Apr 15, 2023
1 parent 945bc4b commit 7d3ad0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions nanolayer/installers/apt_get/apt_get_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def _clean_ppas(
Invoker.invoke(command=f"add-apt-repository -y --remove {ppa}")

if remove_software_properties_common:
Invoker.invoke(command="apt-get -y purge software-properties-common --auto-remove")
Invoker.invoke(
command="apt-get -y purge software-properties-common --auto-remove"
)

@classmethod
def _add_ppas(
Expand All @@ -53,7 +55,9 @@ def _add_ppas(
return software_properties_common_installed

if not cls.is_ubuntu() and not force_ppas_on_non_ubuntu:
raise cls.AptGetInstallerError("in order to install ppas on non-ubuntu distros use the force-ppas-on-non-ubuntu flag")
raise cls.AptGetInstallerError(
"in order to install ppas on non-ubuntu distros use the force-ppas-on-non-ubuntu flag"
)

normalized_ppas = cls.normalize_ppas(ppas)

Expand Down
4 changes: 2 additions & 2 deletions tests/installers/gh_release/test_gh_release_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"caddy",
"linux/amd64",
),
( # has positive "static"
( # has positive "static"
"cas --version",
0,
"mcr.microsoft.com/devcontainers/base:debian",
Expand All @@ -136,7 +136,7 @@
"gitsign",
"linux/amd64",
),
( # has negative "musl"
( # has negative "musl"
"cyclonedx --version",
0,
"mcr.microsoft.com/devcontainers/base:debian",
Expand Down

0 comments on commit 7d3ad0c

Please sign in to comment.