mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/ruff-pre-commit](https://togithub.com/astral-sh/ruff-pre-commit) | repository | patch | `v0.6.2` -> `v0.6.3` | | [crate-ci/typos](https://togithub.com/crate-ci/typos) | repository | patch | `v1.24.1` -> `v1.24.3` | 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://togithub.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.6.3`](https://togithub.com/astral-sh/ruff-pre-commit/releases/tag/v0.6.3) [Compare Source](https://togithub.com/astral-sh/ruff-pre-commit/compare/v0.6.2...v0.6.3) See: https://github.com/astral-sh/ruff/releases/tag/0.6.3 </details> <details> <summary>crate-ci/typos (crate-ci/typos)</summary> ### [`v1.24.3`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.3) [Compare Source](https://togithub.com/crate-ci/typos/compare/v1.24.2...v1.24.3) #### \[1.24.3] - 2024-08-30 ##### Fixes - Updated the dictionary with the [August 2024](https://togithub.com/crate-ci/typos/issues/1069) changes ### [`v1.24.2`](https://togithub.com/crate-ci/typos/releases/tag/v1.24.2) [Compare Source](https://togithub.com/crate-ci/typos/compare/v1.24.1...v1.24.2) #### \[1.24.2] - 2024-08-30 ##### Performance - Cap unbounded parsing to avoid worst case performance (hit with test data) </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://togithub.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/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
79 lines
1.9 KiB
YAML
79 lines
1.9 KiB
YAML
fail_fast: true
|
|
|
|
exclude: |
|
|
(?x)^(
|
|
crates/red_knot_python_semantic/vendor/.*|
|
|
crates/red_knot_workspace/resources/.*|
|
|
crates/ruff_linter/resources/.*|
|
|
crates/ruff_linter/src/rules/.*/snapshots/.*|
|
|
crates/ruff_notebook/resources/.*|
|
|
crates/ruff_server/resources/.*|
|
|
crates/ruff/resources/.*|
|
|
crates/ruff_python_formatter/resources/.*|
|
|
crates/ruff_python_formatter/tests/snapshots/.*|
|
|
crates/ruff_python_resolver/resources/.*|
|
|
crates/ruff_python_resolver/tests/snapshots/.*
|
|
)$
|
|
|
|
repos:
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.19
|
|
hooks:
|
|
- id: validate-pyproject
|
|
|
|
- repo: https://github.com/executablebooks/mdformat
|
|
rev: 0.7.17
|
|
hooks:
|
|
- id: mdformat
|
|
additional_dependencies:
|
|
- mdformat-mkdocs
|
|
- mdformat-admon
|
|
exclude: |
|
|
(?x)^(
|
|
docs/formatter/black\.md
|
|
| docs/\w+\.md
|
|
)$
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.41.0
|
|
hooks:
|
|
- id: markdownlint-fix
|
|
exclude: |
|
|
(?x)^(
|
|
docs/formatter/black\.md
|
|
| docs/\w+\.md
|
|
)$
|
|
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: v1.24.3
|
|
hooks:
|
|
- id: typos
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: cargo-fmt
|
|
name: cargo fmt
|
|
entry: cargo fmt --
|
|
language: system
|
|
types: [rust]
|
|
pass_filenames: false # This makes it a lot faster
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.3
|
|
hooks:
|
|
- id: ruff-format
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
types_or: [python, pyi]
|
|
require_serial: true
|
|
|
|
# Prettier
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v3.1.0
|
|
hooks:
|
|
- id: prettier
|
|
types: [yaml]
|
|
|
|
ci:
|
|
skip: [cargo-fmt, dev-generate-all]
|