From 3e37148923c0fcbb78cd8b55f6714334d8a99a1d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 24 Feb 2025 11:49:39 -0500 Subject: [PATCH] chore: remove staticmethod to appease buggy pylint check Signed-off-by: Henry Schreiner --- cibuildwheel/options.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cibuildwheel/options.py b/cibuildwheel/options.py index d748f9dc..2a193f5c 100644 --- a/cibuildwheel/options.py +++ b/cibuildwheel/options.py @@ -265,12 +265,10 @@ class EnvironmentFormat(OptionFormat): values may contain variables or command substitutions. """ - @staticmethod - def format_table(table: SettingTable) -> str: + def format_table(self, table: SettingTable) -> str: return " ".join(f'{k}="{v}"' for k, v in table.items()) - @staticmethod - def merge_values(before: str, after: str) -> str: + def merge_values(self, before: str, after: str) -> str: return f"{before} {after}"