From 438de6fb398efc0a9382e744ad2f869e2046c65c Mon Sep 17 00:00:00 2001 From: Paul Wildenhain Date: Mon, 4 Apr 2022 14:19:38 -0400 Subject: [PATCH] :bath: Disable weird pylint windows message --- redcap/project.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/redcap/project.py b/redcap/project.py index 2d79af8f..49219e06 100755 --- a/redcap/project.py +++ b/redcap/project.py @@ -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