diff options
author | toonn <toonn@toonn.io> | 2021-07-17 21:26:48 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-20 23:17:45 +0200 |
commit | 9f6550d471351599ffef67d55c61d82e2ae76542 (patch) | |
tree | c3ee1c0b9c210974a717c9d8ddab2a7c37c498eb /ranger | |
parent | 2f6e7c151d9e537cf6d7e857582418b70d4b34ba (diff) | |
download | ranger-9f6550d471351599ffef67d55c61d82e2ae76542.tar.gz |
ext.vcs.vcs: Disable frivolous lints
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/vcs/vcs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py index bd744458..89259b5e 100644 --- a/ranger/ext/vcs/vcs.py +++ b/ranger/ext/vcs/vcs.py @@ -87,6 +87,7 @@ class Vcs(object): # pylint: disable=too-many-instance-attributes if self.root: if self.is_root: self.rootvcs = self + # pylint: disable=invalid-class-object self.__class__ = globals()[self.REPOTYPES[self.repotype]['class'] + 'Root'] if not os.access(self.repodir, os.R_OK): @@ -100,6 +101,7 @@ class Vcs(object): # pylint: disable=too-many-instance-attributes if self.rootvcs is None or self.rootvcs.root is None: return self.rootvcs.links |= self.links + # pylint: disable=invalid-class-object self.__class__ = globals()[self.REPOTYPES[self.repotype]['class']] self.track = self.rootvcs.track |