Skip to content

Commit

Permalink
Disable warning in older pylint versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvogel committed Feb 18, 2025
1 parent 289951a commit 6c8fbeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pyProfileMgr/profile_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c8fbeb

Please sign in to comment.