From c7d9c2086034f39e203bbe1e9c7411f643c55959 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 5 Dec 2023 13:41:45 +0100 Subject: [PATCH] ci: fix linter's complains --- config/wezterm/wezterm.lua | 4 ++-- scripts/pythonstartup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/wezterm/wezterm.lua b/config/wezterm/wezterm.lua index d652bdf..5b2d0db 100644 --- a/config/wezterm/wezterm.lua +++ b/config/wezterm/wezterm.lua @@ -1,5 +1,5 @@ -if not unpack then - _G['unpack'] = _G['table'].unpack -- stylua: ignore +if not _G['unpack'] then + _G['unpack'] = _G['table'].unpack end require 'patch_runtime' diff --git a/scripts/pythonstartup.py b/scripts/pythonstartup.py index bb0d2d2..7615d64 100644 --- a/scripts/pythonstartup.py +++ b/scripts/pythonstartup.py @@ -19,7 +19,7 @@ except ImportError: try: import readline as _readline - import rlcompleter # noqa + import rlcompleter # noqa readline = _readline except ImportError: