Skip to content

Update pre-commit with zizmor and Ruff fixes - #143095

Merged
hugovk merged 5 commits into
python:mainfrom
hugovk:3.15-ci-replace-cmd-with-pwsh
Dec 23, 2025
Merged

hugovk merged 5 commits into
python:mainfrom
hugovk:3.15-ci-replace-cmd-with-pwsh

Conversation

@hugovk

@hugovk hugovk commented Dec 23, 2025 •

Copy link
Copy Markdown
Member

Follow on from #143068.

  • Fix zizmor: Replace shell: cmd with shell: pwsh
  • Fix Ruff's FURB101: Path.open() followed by read() can be replaced by Path("Doc/sphinx-warnings.txt").read_text(encoding="UTF-8")
  • Update other pre-commit hooks

📚 Documentation preview 📚: https://cpython-previews--143095.org.readthedocs.build/

@hugovk hugovk added needs backport to 3.13 only security fixes infra CI, GitHub Actions, buildbots, Dependabot, etc. needs backport to 3.14 bugs and security fixes labels Dec 23, 2025
@hugovk
hugovk merged commit f783cc3 into python:main Dec 23, 2025
@hugovk
hugovk deleted the 3.15-ci-replace-cmd-with-pwsh branch December 23, 2025 15:51
@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @hugovk, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker f783cc37ebdc2fb9a2b5f967b99caaa886ff4ae4 3.14
@miss-islington-app

Copy link
Copy Markdown

Sorry, @hugovk, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker f783cc37ebdc2fb9a2b5f967b99caaa886ff4ae4 3.13
hugovk added a commit to hugovk/cpython that referenced this pull request Dec 23, 2025
(cherry picked from commit f783cc3)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Dec 23, 2025

Copy link
Copy Markdown

GH-143102 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Dec 23, 2025
@hugovk hugovk removed the needs backport to 3.13 only security fixes label Dec 23, 2025
hugovk added a commit to hugovk/cpython that referenced this pull request Dec 23, 2025
…pythonGH-143102)

(cherry picked from commit e6b11c8)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra CI, GitHub Actions, buildbots, Dependabot, etc. skip issue skip news

4 participants