summaryrefslogtreecommitdiff
path: root/poezio/core
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-14 12:26:55 +0100
committermathieui <mathieui@mathieui.net>2021-03-14 12:26:55 +0100
commit3f7e7bd9cace057c348a7a01af7476611bd22c9f (patch)
tree66efd1736eee0bc7701ad46c10644707a0a76ffc /poezio/core
parentcdae238d763565cbfa372c5131adeb147cf00a52 (diff)
downloadpoezio-3f7e7bd9cace057c348a7a01af7476611bd22c9f.tar.gz
poezio-3f7e7bd9cace057c348a7a01af7476611bd22c9f.tar.bz2
poezio-3f7e7bd9cace057c348a7a01af7476611bd22c9f.tar.xz
poezio-3f7e7bd9cace057c348a7a01af7476611bd22c9f.zip
fix: pylint bogus errors
Diffstat (limited to 'poezio/core')
-rw-r--r--poezio/core/core.py4
-rw-r--r--poezio/core/tabs.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 732118a4..6372dd3e 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1048,13 +1048,13 @@ class Core:
"""
rotate the rooms list to the right
"""
- self.tabs.next()
+ self.tabs.next() # pylint: disable=not-callable
def rotate_rooms_left(self) -> None:
"""
rotate the rooms list to the right
"""
- self.tabs.prev()
+ self.tabs.prev() # pylint: disable=not-callable
def go_to_room_number(self) -> None:
"""
diff --git a/poezio/core/tabs.py b/poezio/core/tabs.py
index a789100d..536d7d62 100644
--- a/poezio/core/tabs.py
+++ b/poezio/core/tabs.py
@@ -293,7 +293,7 @@ class Tabs:
def _validate_current_index(self):
if not 0 <= self._current_index < len(
self._tabs) or not self.current_tab:
- self.prev()
+ self.prev() # pylint: disable=not-callable
def _collect_trailing_gaptabs(self):
"""Remove trailing gap tabs if any"""