mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
Fix RUFF037 (redundant quotes)
This commit is contained in:
+1
-1
@@ -582,7 +582,7 @@ def run_cmake(arg1, cmake_args: "list[str]", cmake_dir: Union[str, None] = None,
|
|||||||
if "wasm" in flags:
|
if "wasm" in flags:
|
||||||
wasm.append("emcmake")
|
wasm.append("emcmake")
|
||||||
|
|
||||||
cmake_flags: "list[str]" = []
|
cmake_flags: list[str] = []
|
||||||
if not WASM or not WASM_CMAKE_IS_USING_INIT_VARS:
|
if not WASM or not WASM_CMAKE_IS_USING_INIT_VARS:
|
||||||
# For WASM we provide flags using just environment variables.
|
# For WASM we provide flags using just environment variables.
|
||||||
# If we provide them using cmake vars, it will override emscripten toolchain flags.
|
# If we provide them using cmake vars, it will override emscripten toolchain flags.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ def pack_dependencies(install_dir: Path) -> None:
|
|||||||
def unpack_dependencies(install_dir: Path) -> None:
|
def unpack_dependencies(install_dir: Path) -> None:
|
||||||
# `filter` argument was fully introduced in 3.12
|
# `filter` argument was fully introduced in 3.12
|
||||||
# and results in deprecation warnings in 3.12-3.13, if not provided.
|
# and results in deprecation warnings in 3.12-3.13, if not provided.
|
||||||
tar_filter: "dict[Literal['filter'], Literal['data']]" = (
|
tar_filter: dict[Literal["filter"], Literal["data"]] = (
|
||||||
{"filter": "data"} if bool(sys.version_info >= (3, 12)) else {}
|
{"filter": "data"} if bool(sys.version_info >= (3, 12)) else {}
|
||||||
)
|
)
|
||||||
for tar_path in install_dir.glob(f"{CACHE_PREFIX}*.tar.gz"):
|
for tar_path in install_dir.glob(f"{CACHE_PREFIX}*.tar.gz"):
|
||||||
|
|||||||
Reference in New Issue
Block a user