mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:08 +00:00
Update pre-commit dependencies (#18172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
8c020cc2e9
commit
a761b8cfa2
4 changed files with 11 additions and 4 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
@ -731,6 +731,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
|
||||||
|
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
|
||||||
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
- name: "Cache pre-commit"
|
- name: "Cache pre-commit"
|
||||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -29,3 +29,7 @@ MD024:
|
||||||
#
|
#
|
||||||
# Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854
|
# Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854
|
||||||
MD046: false
|
MD046: false
|
||||||
|
|
||||||
|
# Link text should be descriptive
|
||||||
|
# Disallows link text like *here* which is annoying.
|
||||||
|
MD059: false
|
||||||
|
|
|
@ -43,7 +43,7 @@ repos:
|
||||||
)$
|
)$
|
||||||
|
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.44.0
|
rev: v0.45.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint-fix
|
- id: markdownlint-fix
|
||||||
exclude: |
|
exclude: |
|
||||||
|
@ -80,7 +80,7 @@ repos:
|
||||||
pass_filenames: false # This makes it a lot faster
|
pass_filenames: false # This makes it a lot faster
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.11.9
|
rev: v0.11.10
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
|
|
@ -610,8 +610,7 @@ Then convert the recorded profile
|
||||||
perf script -F +pid > /tmp/test.perf
|
perf script -F +pid > /tmp/test.perf
|
||||||
```
|
```
|
||||||
|
|
||||||
You can now view the converted file with [firefox profiler](https://profiler.firefox.com/), with a
|
You can now view the converted file with [firefox profiler](https://profiler.firefox.com/). To learn more about Firefox profiler, read the [Firefox profiler profiling-guide](https://profiler.firefox.com/docs/#/./guide-perf-profiling).
|
||||||
more in-depth guide [here](https://profiler.firefox.com/docs/#/./guide-perf-profiling)
|
|
||||||
|
|
||||||
An alternative is to convert the perf data to `flamegraph.svg` using
|
An alternative is to convert the perf data to `flamegraph.svg` using
|
||||||
[flamegraph](https://github.com/flamegraph-rs/flamegraph) (`cargo install flamegraph`):
|
[flamegraph](https://github.com/flamegraph-rs/flamegraph) (`cargo install flamegraph`):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue