[pre-commit.ci] pre-commit autoupdate (#2320)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.10 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.10...v0.11.0)

* chore: use Path.iterdir

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* fix: Path.iterdir usage

os.listdir returned entry names rather than their full path

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: mayeut <mayeut@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-03-21 12:51:51 +00:00
committed by GitHub
co-authored by pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Henry Schreiner mayeut
parent 54a0cd0b22
commit 21888b531f
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ def cibuildwheel_run(
cwd=project_path,
check=True,
)
wheels = os.listdir(output_dir or tmp_output_dir)
wheels = [p.name for p in (output_dir or Path(tmp_output_dir)).iterdir()]
return wheels