From 3f484ed32a7fd1e027d2870f3097cb30e7695f02 Mon Sep 17 00:00:00 2001 From: mrjk Date: Wed, 26 Jan 2022 16:40:36 -0500 Subject: [PATCH] Lint: and clean other parts of the code --- kheops/plugin/backend/__init__.py | 2 ++ kheops/plugin/engine/__init__.py | 2 ++ kheops/plugin/strategy/__init__.py | 2 ++ kheops/test.sh | 16 ---------------- 4 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 kheops/test.sh diff --git a/kheops/plugin/backend/__init__.py b/kheops/plugin/backend/__init__.py index bcb08bf..6ebae93 100644 --- a/kheops/plugin/backend/__init__.py +++ b/kheops/plugin/backend/__init__.py @@ -1,3 +1,5 @@ +"""Backend plugins""" + from . import init from . import loop from . import hier diff --git a/kheops/plugin/engine/__init__.py b/kheops/plugin/engine/__init__.py index 34cd632..d26763f 100644 --- a/kheops/plugin/engine/__init__.py +++ b/kheops/plugin/engine/__init__.py @@ -1 +1,3 @@ +"""Engine plugins""" + from . import jerakia diff --git a/kheops/plugin/strategy/__init__.py b/kheops/plugin/strategy/__init__.py index a7313d7..5d116e3 100644 --- a/kheops/plugin/strategy/__init__.py +++ b/kheops/plugin/strategy/__init__.py @@ -1,2 +1,4 @@ +"""Strategy plugins""" + from . import last from . import schema diff --git a/kheops/test.sh b/kheops/test.sh deleted file mode 100644 index 7302a53..0000000 --- a/kheops/test.sh +++ /dev/null @@ -1,16 +0,0 @@ - - -python ./ansible_tree/cli.py - -$APP lookup profiles -e - -lookup profiles -e "hostgroup=[ 'Tiger/ICN/Tiger/Infra/Prod' ]" -e "hostgroups=[ 'Tiger', 'Tiger/ICN', 'Tiger/ICN/Tiger', 'Tiger/ICN/Tiger/Infra', 'Tiger/ICN/Tiger/Infra/Prod' ]" -e "ansible_fqdn=tiger-ops.it.ms.bell.ca" -e "ansible_dist_name=Rhel" -e "ansible_dist_version=8" -e "tiger_org=ICN" - - - - - - -e "hostgroup=[ 'Tiger/ICN/Tiger/Infra/Prod' ]" - -e "hostgroup=[ 'Tiger/ICN/Tiger/Infra/Prod' ]" - -e "hostgroup=[ 'Tiger/ICN/Tiger/Infra/Prod' ]" - -e "hostgroups=[ 'Tiger', 'ICN', 'Tiger', 'Infra', 'Prod' ]"