Skip to content

Commit

Permalink
Use Manager0
Browse files Browse the repository at this point in the history
Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Dec 4, 2023
1 parent 48d98cb commit 89eeb31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pylint]
good-names="Manager,ObjectManager,Report"
good-names="Manager0,Manager,ObjectManager,Report"
4 changes: 2 additions & 2 deletions src/stratis_cli/_actions/_stratisd_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from .._errors import StratisCliStratisdVersionError
from ._connection import get_object
from ._constants import MAXIMUM_STRATISD_VERSION, MINIMUM_STRATISD_VERSION, TOP_OBJECT
from ._dynamic import make_dyn_class


def check_stratisd_version():
Expand All @@ -30,8 +31,7 @@ def check_stratisd_version():
:raises StratisCliStratisdVersionError
"""
# pylint: disable=import-outside-toplevel
from ._data import Manager0
Manager0 = make_dyn_class("Manager0")

version_spec = SpecifierSet(f">={MINIMUM_STRATISD_VERSION}") & SpecifierSet(
f"<{MAXIMUM_STRATISD_VERSION}"
Expand Down

0 comments on commit 89eeb31

Please sign in to comment.