diff --git a/src/pyProfileMgr/profile_mgr.py b/src/pyProfileMgr/profile_mgr.py index 15dbdaa..b895e6d 100644 --- a/src/pyProfileMgr/profile_mgr.py +++ b/src/pyProfileMgr/profile_mgr.py @@ -273,6 +273,7 @@ def load(self, profile_name: str) -> Ret.CODE: try: # TRICKY: Do not use 'contains' since that has several issues # with StrEnum, which differ in multiple Python versions. + # pylint: disable=E1121 self._profile_type = ProfileType(profile_dict[TYPE_KEY]) except ValueError: return Ret.CODE.RET_ERROR_INVALID_PROFILE_TYPE