mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 05:36:53 +00:00
This PR contains the following updates: | Package | Type | Update | Change | Age | Confidence | |---|---|---|---|---|---| | [astral-sh/ruff-pre-commit](https://redirect.github.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.14.5` -> `v0.14.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit) | repository | patch | `0.9.9` -> `0.9.11` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [igorshubovych/markdownlint-cli](https://redirect.github.com/igorshubovych/markdownlint-cli) | repository | minor | `v0.45.0` -> `v0.46.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [mdformat-mkdocs](https://redirect.github.com/kyleking/mdformat-mkdocs) ([changelog](https://redirect.github.com/kyleking/mdformat-mkdocs/releases)) | pre-commit-python | major | `==4.4.2` -> `==5.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [rhysd/actionlint](https://redirect.github.com/rhysd/actionlint) | repository | patch | `v1.7.8` -> `v1.7.9` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | 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/ruff-pre-commit (astral-sh/ruff-pre-commit)</summary> ### [`v0.14.6`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.14.6) [Compare Source](https://redirect.github.com/astral-sh/ruff-pre-commit/compare/v0.14.5...v0.14.6) See: <https://github.com/astral-sh/ruff/releases/tag/0.14.6> </details> <details> <summary>astral-sh/uv-pre-commit (astral-sh/uv-pre-commit)</summary> ### [`v0.9.11`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.9.11) [Compare Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.9.10...0.9.11) See: <https://github.com/astral-sh/uv/releases/tag/0.9.11> ### [`v0.9.10`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.9.10) [Compare Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.9.9...0.9.10) See: <https://github.com/astral-sh/uv/releases/tag/0.9.10> </details> <details> <summary>igorshubovych/markdownlint-cli (igorshubovych/markdownlint-cli)</summary> ### [`v0.46.0`](https://redirect.github.com/igorshubovych/markdownlint-cli/releases/tag/v0.46.0) [Compare Source](https://redirect.github.com/igorshubovych/markdownlint-cli/compare/v0.45.0...v0.46.0) - Replace `glob` dependency with `tinyglobby` (smaller and fewer dependencies) - Update `markdownlint` dependency to `0.39.0` - Add `MD060`/`table-column-style` - Improve `MD001`/`MD007`/`MD009`/`MD010`/`MD029`/`MD033`/`MD037`/`MD059` - Update all dependencies via `Dependabot` </details> <details> <summary>kyleking/mdformat-mkdocs (mdformat-mkdocs)</summary> ### [`v5.0.0`](https://redirect.github.com/KyleKing/mdformat-mkdocs/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v4.5.1...v5.0.0) **Full Changelog**: <https://github.com/KyleKing/mdformat-mkdocs/compare/v4.5.1...v5.0.0> ### [`v4.5.1`](https://redirect.github.com/KyleKing/mdformat-mkdocs/releases/tag/v4.5.1) [Compare Source](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v4.4.2...v4.5.1) #### What's Changed - Fix CI virtual environment setup for tests by [@​KyleKing](https://redirect.github.com/KyleKing) in [KyleKing#69](https://redirect.github.com/KyleKing/mdformat-mkdocs/pull/69) **Full Changelog**: <https://github.com/KyleKing/mdformat-mkdocs/compare/v4.5.0...v4.5.1> </details> <details> <summary>rhysd/actionlint (rhysd/actionlint)</summary> ### [`v1.7.9`](https://redirect.github.com/rhysd/actionlint/blob/HEAD/CHANGELOG.md#v179---2025-11-21) [Compare Source](https://redirect.github.com/rhysd/actionlint/compare/v1.7.8...v1.7.9) - Add support for [`ubuntu-slim` runner](https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/) label. ([#​585](https://redirect.github.com/rhysd/actionlint/issues/585), thanks [@​cestorer](https://redirect.github.com/cestorer)) - Check input deprecation in action by checking [`deprecationMessage` property](https://docs.github.com/en/actions/reference/workflows-and-actions/metadata-syntax#inputsinput_iddeprecationmessage). Using a deprecated input is reported as error if it is not marked as `required`. See [the document](https://redirect.github.com/rhysd/actionlint/blob/main/docs/checks.md#deprecated-inputs-usage) for more details. ([#​580](https://redirect.github.com/rhysd/actionlint/issues/580)) ```yaml - uses: reviewdog/action-actionlint@v1 with: # ERROR: Using a deprecated input fail_on_error: true ``` - Add support for the [Custom images](https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images) feature. - Support [`image_version` workflow trigger](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#image_version). ```yaml on: image_version: names: - "MyNewImage" - "MyOtherImage" versions: - 1.* - 2.* ``` - Support [`jobs.<job_id>.snapshot` syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idsnapshot). To make actionlint recognize your own image generation runner, use [`self-hosted-runner.labels` config](https://redirect.github.com/rhysd/actionlint/blob/main/docs/config.md). ```yaml jobs: build: runs-on: my-image-generation-runner snapshot: image-name: my-custom-image version: 2.* ``` - Fix some invalid permissions are not reported as error in `id-token` and `models` scopes. ([#​582](https://redirect.github.com/rhysd/actionlint/issues/582), thanks [@​holtkampjs](https://redirect.github.com/holtkampjs)) - Fix `args` and `entrypoint` inputs are not recognized at `uses:` when it's not a Docker action. ([#​550](https://redirect.github.com/rhysd/actionlint/issues/550)) - Set correct column in source position of YAML parse error. - Fix `credentials` cannot be configured with `${{ }}`. ([#​590](https://redirect.github.com/rhysd/actionlint/issues/590)) - Improve messages in syntax errors on parsing steps (`run:` and `uses:`). Available keys suggestion is now more accurate and unexpected keys are detected more accurately. - Fix the order of errors can be non-deterministic when multiple errors are caused at the same source positions. - Improve error messages showing suggestions on detecting invalid permissions. - Add instruction for installing actionlint with [mise package manager](https://mise.jdx.dev/getting-started.html). ([#​589](https://redirect.github.com/rhysd/actionlint/issues/589), thanks [@​jylenhof](https://redirect.github.com/jylenhof)) - Fix outdated URLs in the document. - Add new `actionlint.AllContexts` map constant in Go API that contains the information about all context availability. - Update popular actions data set to the latest with several major versions of actions and the following new actions. - `anthropics/claude-code-action` - `openai/codex-action` - `google-github-actions/run-gemini-cli` - Add `make cov` task to easily generate a code coverage report. - Make installing the formula version of `actionlint` pacakge from tap of this repository with Homebrew a hard error. Install the cask version instead following the instruction in the error message. \[Changes]\[v1.7.9] <a id="v1.7.8"></a> </details> --- ### 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. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
91 lines
2.8 KiB
YAML
91 lines
2.8 KiB
YAML
fail_fast: false
|
|
|
|
exclude: |
|
|
(?x)^(
|
|
.github/workflows/release.yml
|
|
| ruff/.*
|
|
| docs/reference/(cli|configuration|rules|environment).md
|
|
)$
|
|
|
|
repos:
|
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
rev: 0.9.11
|
|
hooks:
|
|
- id: uv-lock
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.14.6
|
|
hooks:
|
|
- id: ruff-format
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.24.1
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- 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.0.0
|
|
- mdformat-footnote==0.1.2
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.46.0
|
|
hooks:
|
|
- id: markdownlint-fix
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.39.2
|
|
hooks:
|
|
- id: typos
|
|
|
|
# Prettier
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
rev: v3.6.2
|
|
hooks:
|
|
- id: prettier
|
|
types: [yaml]
|
|
|
|
# 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.16.3
|
|
hooks:
|
|
- id: zizmor
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
rev: 0.35.0
|
|
hooks:
|
|
- id: check-github-workflows
|
|
|
|
# `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.9
|
|
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?
|
|
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.10.0"
|