From c80762debd5321a86a03060250c38e8a1711e560 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 08:43:39 +0000 Subject: [PATCH] Update pre-commit dependencies (#19038) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | minor | `v0.11.13` -> `v0.12.1` | | [python-jsonschema/check-jsonschema](https://redirect.github.com/python-jsonschema/check-jsonschema) | repository | patch | `0.33.0` -> `0.33.1` | | [rbubley/mirrors-prettier](https://redirect.github.com/rbubley/mirrors-prettier) | repository | minor | `v3.5.3` -> `v3.6.2` | | [woodruffw/zizmor-pre-commit](https://redirect.github.com/woodruffw/zizmor-pre-commit) | repository | minor | `v1.9.0` -> `v1.10.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://redirect.github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit) ### [`v0.12.1`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.12.1) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.1) See: https://github.com/astral-sh/ruff/releases/tag/0.12.1 ### [`v0.12.0`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.12.0) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.0) See: https://github.com/astral-sh/ruff/releases/tag/0.12.0
python-jsonschema/check-jsonschema (python-jsonschema/check-jsonschema) ### [`v0.33.1`](https://redirect.github.com/python-jsonschema/check-jsonschema/blob/HEAD/CHANGELOG.rst#0331) [Compare Source](https://redirect.github.com/python-jsonschema/check-jsonschema/compare/0.33.0...0.33.1) - Update vendored schemas: bamboo-spec, bitbucket-pipelines, circle-ci, cloudbuild, compose-spec, dependabot, drone-ci, github-actions, github-workflows, gitlab-ci, mergify, readthedocs, renovate, taskfile, travis, woodpecker-ci (2025-06-22) - Fix: support `click==8.2.0` - Fix a bug in `Last-Modified` header parsing which used local time and could result in improper caching. Thanks :user:`fenuks`! (:pr:`565`)
rbubley/mirrors-prettier (rbubley/mirrors-prettier) ### [`v3.6.2`](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.6.1...v3.6.2) [Compare Source](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.6.1...v3.6.2) ### [`v3.6.1`](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.6.0...v3.6.1) [Compare Source](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.6.0...v3.6.1) ### [`v3.6.0`](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.5.3...v3.6.0) [Compare Source](https://redirect.github.com/rbubley/mirrors-prettier/compare/v3.5.3...v3.6.0)
woodruffw/zizmor-pre-commit (woodruffw/zizmor-pre-commit) ### [`v1.10.0`](https://redirect.github.com/zizmorcore/zizmor-pre-commit/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/woodruffw/zizmor-pre-commit/compare/v1.9.0...v1.10.0) See: https://github.com/zizmorcore/zizmor/releases/tag/v1.10.0
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dhruv Manilawala --- .pre-commit-config.yaml | 8 ++++---- pyproject.toml | 4 ++++ scripts/pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8649ac613e..b9c77b5360 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,7 +81,7 @@ repos: pass_filenames: false # This makes it a lot faster - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.1 hooks: - id: ruff-format - id: ruff @@ -91,7 +91,7 @@ repos: # Prettier - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.5.3 + rev: v3.6.2 hooks: - id: prettier types: [yaml] @@ -99,12 +99,12 @@ repos: # zizmor detects security vulnerabilities in GitHub Actions workflows. # Additional configuration for the tool is found in `.github/zizmor.yml` - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.9.0 + rev: v1.10.0 hooks: - id: zizmor - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.33.0 + rev: 0.33.1 hooks: - id: check-github-workflows diff --git a/pyproject.toml b/pyproject.toml index 3076ccf03f..22e6c9587d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,10 @@ ignore = [ [tool.ruff.lint.isort] required-imports = ["from __future__ import annotations"] +[tool.ruff.per-file-target-version] +"crates/ty_python_semantic/mdtest.py" = "py310" +"crates/ty_vendored/ty_extensions/ty_extensions.pyi" = "py312" + [tool.black] force-exclude = ''' /( diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index 475e14805e..8b964fb7db 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -2,7 +2,7 @@ name = "scripts" version = "0.0.1" dependencies = ["stdlibs"] -requires-python = ">=3.11" +requires-python = ">=3.12" [tool.black] line-length = 88