Skip to content

Commit

Permalink
Disable linter in older Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvogel committed Feb 18, 2025
1 parent 826f2a9 commit eac312d
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 @@ -277,6 +277,7 @@ def load(self, profile_name: str) -> Ret.CODE:
self._profile_type = profile_dict[TYPE_KEY]

try:
# pylint: disable=E1121
if ProfileType(self._profile_type) not in ProfileType:
return Ret.CODE.RET_ERROR_INVALID_PROFILE_TYPE
except TypeError:
Expand Down

0 comments on commit eac312d

Please sign in to comment.