mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
github/workflows/lint: show ruff suggested changes
This commit is contained in:
parent
cd439acce2
commit
2596c4d930
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
@ -38,9 +38,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: astral-sh/ruff-action@v3
|
- name: Check
|
||||||
|
id: check
|
||||||
|
uses: astral-sh/ruff-action@v3
|
||||||
with:
|
with:
|
||||||
src: ". TOOLS/umpv"
|
src: ". TOOLS/umpv"
|
||||||
|
- name: Suggested changes
|
||||||
|
if: ${{ failure() && steps.check.outcome == 'failure' }}
|
||||||
|
run: ruff check . TOOLS/umpv --diff
|
||||||
|
|
||||||
mypy:
|
mypy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user