Disable pylint maybe-no-member in TabWidget._init_config
This commit is contained in:
parent
5b0e24b799
commit
963b90ae74
@ -81,6 +81,7 @@ class TabWidget(QTabWidget):
|
|||||||
'right': QTabBar.SelectRightTab,
|
'right': QTabBar.SelectRightTab,
|
||||||
'previous': QTabBar.SelectPreviousTab,
|
'previous': QTabBar.SelectPreviousTab,
|
||||||
}
|
}
|
||||||
|
# pylint: disable=maybe-no-member
|
||||||
self.setMovable(config.config.getboolean('tabbar', 'movable'))
|
self.setMovable(config.config.getboolean('tabbar', 'movable'))
|
||||||
self.setTabsClosable(config.config.getboolean('tabbar',
|
self.setTabsClosable(config.config.getboolean('tabbar',
|
||||||
'closebuttons'))
|
'closebuttons'))
|
||||||
|
Loading…
Reference in New Issue
Block a user