aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-12-07 21:15:05 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commita2edc01bd1224ef7b6e11ff9b952e675514e1ece (patch)
tree55f15de58861071dacb029b5295cc347b799de12 /slack/config.py
parent0cb37109508d3828570c15f8ec68d65b11ff1ba1 (diff)
downloadwee-slack-a2edc01bd1224ef7b6e11ff9b952e675514e1ece.tar.gz
Format all files with ruff
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/slack/config.py b/slack/config.py
index 10cc0a6..7defa99 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -367,11 +367,8 @@ def config_section_workspace_write_for_old_weechat_cb(
for workspace in shared.workspaces.values():
for option in vars(workspace.config).values():
if isinstance(option, WeeChatOption):
- if (
- option.weechat_type != "string"
- or not weechat.config_option_is_null(
- option._pointer # pyright: ignore [reportPrivateUsage]
- )
+ if option.weechat_type != "string" or not weechat.config_option_is_null(
+ option._pointer # pyright: ignore [reportPrivateUsage]
):
if not weechat.config_write_option(
config_file,