more pylint
This commit is contained in:
parent
f5f0805802
commit
f8c2b61fea
2 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ def irc_client_main(
|
|||
message += " " * (terminal_tilegrid.width - len(message) - 1)
|
||||
line = f"{ANSI_BLACK_ON_GREY}{message}{ANSI_RESET}"
|
||||
else:
|
||||
line = f"{ANSI_BLACK_ON_GREY}{status_bar["user_message"]}{ANSI_RESET}"
|
||||
line = f"{ANSI_BLACK_ON_GREY}{status_bar['user_message']}{ANSI_RESET}"
|
||||
if status_bar["user_message_shown_time"] + 3.0 < time.monotonic():
|
||||
status_bar["user_message"] = None
|
||||
setline(user_message_row, line)
|
||||
|
|
|
|||
|
|
@ -452,8 +452,8 @@ class IRCClient:
|
|||
action_user = parts[0].split("!", 1)[0][1:]
|
||||
mode_msg_parts = parts[2].split(" ", 2)
|
||||
if len(mode_msg_parts) >= 3:
|
||||
channel, mode, target_user = (
|
||||
mode_msg_parts # pylint: disable=unused-variable
|
||||
channel, mode, target_user = ( # pylint: disable=unused-variable
|
||||
mode_msg_parts
|
||||
)
|
||||
action_user_color = self.get_color_for_user(action_user)
|
||||
target_user_color = self.get_color_for_user(target_user)
|
||||
|
|
|
|||
Loading…
Reference in a new issue