Skip to content

Commit

Permalink
🛀 Disable weird pylint windows message
Browse files Browse the repository at this point in the history
  • Loading branch information
pwildenhain committed Apr 4, 2022
1 parent 21a27a5 commit 438de6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions redcap/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,10 @@ def redcap_version(self) -> Optional[semantic_version.Version]:
try:
return self._redcap_version
except AttributeError:
# weird pylint bug on windows where it can't find Version.export_version()
# possible too many parents it's inheriting from? We also need to disable
# useless-supression since this is a windows only issue
# pylint: disable=no-member,useless-suppression
self._redcap_version = self.export_version()
# pylint: enable=no-member,useless-suppression
return self._redcap_version

0 comments on commit 438de6f

Please sign in to comment.