mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.13] Update pre-commit hooks (GH-137591) (GH-137641)
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
(cherry picked from commit b36d23f58e)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
4a630d7b29
commit
5d64571b43
3 changed files with 17 additions and 7 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -231,8 +231,8 @@ jobs:
|
|||
free-threading: ${{ matrix.free-threading }}
|
||||
|
||||
build-windows-msi:
|
||||
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
|
||||
Windows MSI${{ '' }}
|
||||
# ${{ '' } is a hack to nest jobs under the same sidebar category.
|
||||
name: Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
|
||||
needs: build-context
|
||||
if: fromJSON(needs.build-context.outputs.run-windows-msi)
|
||||
strategy:
|
||||
|
|
@ -546,8 +546,8 @@ jobs:
|
|||
run: xvfb-run make test
|
||||
|
||||
build-san:
|
||||
name: >- # ${{ '' } is a hack to nest jobs under the same sidebar category
|
||||
Sanitizers${{ '' }}
|
||||
# ${{ '' } is a hack to nest jobs under the same sidebar category.
|
||||
name: Sanitizers${{ '' }} # zizmor: ignore[obfuscation]
|
||||
needs: build-context
|
||||
if: needs.build-context.outputs.run-tests == 'true'
|
||||
strategy:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.11.6
|
||||
rev: v0.12.8
|
||||
hooks:
|
||||
- id: ruff
|
||||
name: Run Ruff (lint) on Doc/
|
||||
|
|
@ -34,7 +34,7 @@ repos:
|
|||
exclude: ^Tools/c-analyzer/cpython/_parser.py
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-case-conflict
|
||||
- id: check-merge-conflict
|
||||
|
|
@ -52,7 +52,7 @@ repos:
|
|||
files: '^\.github/CODEOWNERS|\.(gram)$'
|
||||
|
||||
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
||||
rev: v1.6.0
|
||||
rev: v1.11.0
|
||||
hooks:
|
||||
- id: zizmor
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
fix = true
|
||||
target-version = "py312"
|
||||
extend-exclude = [
|
||||
# Excluded (run with the other AC files in its own separate ruff job in pre-commit)
|
||||
"test_clinic.py",
|
||||
|
|
@ -12,6 +13,15 @@ extend-exclude = [
|
|||
"test_grammar.py",
|
||||
]
|
||||
|
||||
[per-file-target-version]
|
||||
# Type parameter defaults
|
||||
"test_type_params.py" = "py313"
|
||||
|
||||
# Template string literals
|
||||
"test_annotationlib.py" = "py314"
|
||||
"test_string/test_templatelib.py" = "py314"
|
||||
"test_tstring.py" = "py314"
|
||||
|
||||
[lint]
|
||||
select = [
|
||||
"F811", # Redefinition of unused variable (useful for finding test methods with the same name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue