diff --git a/pyodide_build/cli/config.py b/pyodide_build/cli/config.py index d32c1ab..8abb6e6 100644 --- a/pyodide_build/cli/config.py +++ b/pyodide_build/cli/config.py @@ -25,10 +25,7 @@ # "pyodide_sysconfig_" prefix to differentiate them # from other configuration variables PYODIDE_CONFIGS.update( - { - f"pyodide_sysconfig_{k}": v - for k, v in sysconfig.get_paths().items() - } + {f"pyodide_sysconfig_{k}": v for k, v in sysconfig.get_paths().items()} ) diff --git a/pyodide_build/config.py b/pyodide_build/config.py index c8e6fc1..3f4feab 100644 --- a/pyodide_build/config.py +++ b/pyodide_build/config.py @@ -37,10 +37,7 @@ def _load_sysconfig_paths(self) -> Mapping[str, str]: # Load the values of sysconfig.get_paths() with a # "pyodide_sysconfig_" prefix to differentiate them # from other configuration variables - return { - f"pyodide_sysconfig_{k}": v - for k, v in sysconfig.get_paths().items() - } + return {f"pyodide_sysconfig_{k}": v for k, v in sysconfig.get_paths().items()} def _load_default_config(self) -> Mapping[str, str]: return { @@ -185,11 +182,8 @@ def to_env(self) -> dict[str, str]: } BUILD_KEY_TO_VAR.update( - { - f"pyodide_sysconfig_{k}": v - for k, v in sysconfig.get_paths().items() - } - ) + {f"pyodide_sysconfig_{k}": v for k, v in sysconfig.get_paths().items()} +) BUILD_VAR_TO_KEY = {v: k for k, v in BUILD_KEY_TO_VAR.items()} @@ -224,11 +218,8 @@ def to_env(self) -> dict[str, str]: } DEFAULT_CONFIG.update( - { - f"pyodide_sysconfig_{k}": v - for k, v in sysconfig.get_paths().items() - } - ) + {f"pyodide_sysconfig_{k}": v for k, v in sysconfig.get_paths().items()} +) # Default configs that are computed from other values (often from Makefile.envs) # TODO: Remove dependency on Makefile.envs