8000 [pre-commit.ci] auto fixes from pre-commit.com hooks · scikit-build/scikit-build@f06d453 · GitHub
[go: up one dir, main page]

Skip to content

Commit f06d453

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent eac9fd2 commit f06d453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skbuild/setuptools_wrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,10 @@ def setup(
514514
package_data = {k: copy.copy(v) for k, v in kw.get("package_data", {}).items()}
515515

516516
py_modules = kw.get("py_modules", [])
517-
new_py_modules = {py_module: False for py_module in py_modules}
517+
new_py_modules = dict.fromkeys(py_modules, False)
518518

519519
scripts = kw.get("scripts", [])
520-
new_scripts = {script: False for script in scripts}
520+
new_scripts = dict.fromkeys(scripts, False)
521521

522522
data_files = {(parent_dir or "."): set(file_list) for parent_dir, file_list in kw.get("data_files", [])}
523523

0 commit comments

Comments
 (0)
0