Skip to content

Commit

Permalink
Fix linter warning W0611 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
iLeonidze authored Jan 24, 2022
1 parent 41b4d39 commit 5d4ad16
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion kubemarine/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import fabric
from invoke import UnexpectedExit

from kubemarine.core import cluster, group, flow, executor
from kubemarine.core import cluster, group, flow
from kubemarine.core.cluster import KubernetesCluster
from kubemarine.core.connections import Connections
from kubemarine.core.group import NodeGroup, _HostToResult, NodeGroupResult
Expand Down
1 change: 0 additions & 1 deletion kubemarine/haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from kubemarine import system, packages
from kubemarine.core import utils
from kubemarine.core.executor import RemoteExecutor
from kubemarine.core.group import NodeGroupResult

ERROR_VRRP_IS_NOT_CONFIGURED = "Balancer is combined with other role, but VRRP IP is not configured."

Expand Down
2 changes: 1 addition & 1 deletion kubemarine/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import yaml
from jinja2 import Template

from kubemarine import system, plugins, psp, etcd, cri, packages
from kubemarine import system, plugins, psp, etcd, packages
from kubemarine.core import utils
from kubemarine.core.executor import RemoteExecutor
from kubemarine.core.group import NodeGroup
Expand Down
1 change: 0 additions & 1 deletion kubemarine/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

from kubemarine import jinja, thirdparties
from kubemarine.core import utils
from kubemarine.core.executor import RemoteExecutor
from kubemarine.core.yaml_merger import default_merger
from kubemarine.core.group import NodeGroup

Expand Down
2 changes: 1 addition & 1 deletion kubemarine/procedures/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from collections import OrderedDict
import yaml

from kubemarine import packages, system
from kubemarine import system
from kubemarine.core import utils, flow
from kubemarine.core.cluster import KubernetesCluster
from kubemarine.core.group import NodeGroup
Expand Down
1 change: 0 additions & 1 deletion kubemarine/procedures/migrate_cri.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from collections import OrderedDict

import io
import ruamel.yaml

from kubemarine import kubernetes, etcd, thirdparties, cri
from kubemarine.core import flow
Expand Down
2 changes: 0 additions & 2 deletions kubemarine/procedures/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# limitations under the License.


import io
import json
import os
import re
import tarfile
Expand Down
2 changes: 1 addition & 1 deletion kubemarine/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import fabric
import yaml

from kubemarine import selinux, kubernetes, packages
from kubemarine import selinux, kubernetes
from kubemarine.core import utils
from kubemarine.core.cluster import KubernetesCluster
from kubemarine.core.executor import RemoteExecutor
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import unittest

from kubemarine import haproxy, packages
from kubemarine import haproxy
from kubemarine import demo


Expand Down

0 comments on commit 5d4ad16

Please sign in to comment.