more pylint

This commit is contained in:
foamyguy 2025-07-29 10:30:35 -05:00
parent f5f0805802
commit f8c2b61fea
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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)