aboutsummaryrefslogtreecommitdiffstats
path: root/slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-24 02:35:22 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commitb2e09005f213d6159dc37d2a0856118b35bcc55a (patch)
tree58f95873c386e09b57438edc00f5a428784d5272 /slack.py
parent4ec66caeecfa91c7fd1b36291da9f5b9a17a7d02 (diff)
downloadwee-slack-b2e09005f213d6159dc37d2a0856118b35bcc55a.tar.gz
Improve pylint results
Diffstat (limited to 'slack.py')
-rw-r--r--slack.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/slack.py b/slack.py
index 460f355..3177fda 100644
--- a/slack.py
+++ b/slack.py
@@ -322,7 +322,7 @@ def task_runner(task: Task[Any], response: Any):
response = e.value
else:
if task.id in active_responses:
- raise Exception(
+ raise Exception( # pylint: disable=raise-missing-from
f"task.id in active_responses, {task.id}, {active_responses}"
)
if not task.final:
@@ -434,7 +434,8 @@ class SlackConfigSectionColor:
self.reaction_suffix = WeeChatOption(
self._section,
"reaction_suffix",
- "Color to use for the [:wave:(@user)] suffix on messages that have reactions attached to them.",
+ "Color to use for the [:wave:(@user)] suffix on messages that have "
+ "reactions attached to them.",
WeeChatColor("darkgray"),
)