mirror of
https://github.com/astral-sh/ty.git
synced 2026-05-06 08:56:48 -04:00
569c081af4
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit) | repository | patch | `0.11.7` → `0.11.8` | `0.11.10` (+1) | | [crate-ci/typos](https://redirect.github.com/crate-ci/typos) | repository | patch | `v1.45.1` → `v1.45.2` | `v1.46.0` | 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 <details> <summary>astral-sh/uv-pre-commit (astral-sh/uv-pre-commit)</summary> ### [`v0.11.8`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.11.8) [Compare Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.11.7...0.11.8) See: <https://github.com/astral-sh/uv/releases/tag/0.11.8> </details> <details> <summary>crate-ci/typos (crate-ci/typos)</summary> ### [`v1.45.2`](https://redirect.github.com/crate-ci/typos/releases/tag/v1.45.2) [Compare Source](https://redirect.github.com/crate-ci/typos/compare/v1.45.1...v1.45.2) ##### \[1.45.2] - 2026-04-27 ##### Fixes - Ignore ssh [`ed25519`](https://redirect.github.com/crate-ci/typos/commit/ed25519) public keys </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 4am on Wednesday" - 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. --- - [ ] <!-- rebase-check -->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/ty). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
112 lines
3.3 KiB
YAML
112 lines
3.3 KiB
YAML
fail_fast: false
|
|
|
|
exclude: |
|
|
(?x)^(
|
|
.github/workflows/release.yml|
|
|
ruff/.*|
|
|
docs/reference/(cli|configuration|rules|environment).md
|
|
)$
|
|
|
|
repos:
|
|
# Priority 0: Read-only hooks; hooks that modify disjoint file types.
|
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
rev: 0.11.8
|
|
hooks:
|
|
- id: uv-lock
|
|
priority: 0
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
priority: 0
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.12
|
|
hooks:
|
|
- id: ruff-format
|
|
priority: 0
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
priority: 1
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.25
|
|
hooks:
|
|
- id: validate-pyproject
|
|
priority: 0
|
|
|
|
- repo: https://github.com/executablebooks/mdformat
|
|
rev: 1.0.0
|
|
hooks:
|
|
- id: mdformat
|
|
language: python # means renovate will also update `additional_dependencies`
|
|
additional_dependencies:
|
|
- mdformat-mkdocs==5.1.4
|
|
- mdformat-footnote==0.1.3
|
|
priority: 0
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.48.0
|
|
hooks:
|
|
- id: markdownlint-fix
|
|
priority: 1
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.45.2
|
|
hooks:
|
|
- id: typos
|
|
priority: 0
|
|
|
|
# Prettier
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
rev: v3.8.3
|
|
hooks:
|
|
- id: prettier
|
|
types: [yaml]
|
|
priority: 0
|
|
|
|
# zizmor detects security vulnerabilities in GitHub Actions workflows.
|
|
# Additional configuration for the tool is found in `.github/zizmor.yml`
|
|
- repo: https://github.com/zizmorcore/zizmor-pre-commit
|
|
rev: v1.24.1
|
|
hooks:
|
|
- id: zizmor
|
|
priority: 0
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.11.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
priority: 0
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.37.1
|
|
hooks:
|
|
- id: check-github-workflows
|
|
priority: 0
|
|
|
|
# `actionlint` hook, for verifying correct syntax in GitHub Actions workflows.
|
|
# Some additional configuration for `actionlint` can be found in `.github/actionlint.yaml`.
|
|
- repo: https://github.com/rhysd/actionlint
|
|
rev: v1.7.12
|
|
hooks:
|
|
- id: actionlint
|
|
stages:
|
|
# This hook is disabled by default, since it's quite slow.
|
|
# To run all hooks *including* this hook, use `uvx pre-commit run -a --hook-stage=manual`.
|
|
# To run *just* this hook, use `uvx pre-commit run -a actionlint --hook-stage=manual`.
|
|
- manual
|
|
args:
|
|
- "-ignore=SC2129" # ignorable stylistic lint from shellcheck
|
|
- "-ignore=SC2016" # another shellcheck lint: seems to have false positives?
|
|
language: golang # means renovate will also update `additional_dependencies`
|
|
additional_dependencies:
|
|
# actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions
|
|
# and checks these with shellcheck. This is arguably its most useful feature,
|
|
# but the integration only works if shellcheck is installed
|
|
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@v0.11.1"
|
|
priority: 0
|