From 7d3ad0cecede3db6e43892ba17365a1c36b08895 Mon Sep 17 00:00:00 2001 From: Daniel Braun Date: Sat, 15 Apr 2023 18:48:00 +0000 Subject: [PATCH] style: isort and black --- nanolayer/installers/apt_get/apt_get_installer.py | 8 ++++++-- tests/installers/gh_release/test_gh_release_installer.py | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nanolayer/installers/apt_get/apt_get_installer.py b/nanolayer/installers/apt_get/apt_get_installer.py index 1060350c..17cd0793 100644 --- a/nanolayer/installers/apt_get/apt_get_installer.py +++ b/nanolayer/installers/apt_get/apt_get_installer.py @@ -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( @@ -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) diff --git a/tests/installers/gh_release/test_gh_release_installer.py b/tests/installers/gh_release/test_gh_release_installer.py index f5243477..e5d99474 100644 --- a/tests/installers/gh_release/test_gh_release_installer.py +++ b/tests/installers/gh_release/test_gh_release_installer.py @@ -120,7 +120,7 @@ "caddy", "linux/amd64", ), - ( # has positive "static" + ( # has positive "static" "cas --version", 0, "mcr.microsoft.com/devcontainers/base:debian", @@ -136,7 +136,7 @@ "gitsign", "linux/amd64", ), - ( # has negative "musl" + ( # has negative "musl" "cyclonedx --version", 0, "mcr.microsoft.com/devcontainers/base:debian",