mirror of
https://github.com/langgenius/dify.git
synced 2025-12-04 14:56:42 +00:00
fmt first (#26221)
This commit is contained in:
parent
e6d4331994
commit
46375aacdb
4
.github/workflows/autofix.yml
vendored
4
.github/workflows/autofix.yml
vendored
@ -15,10 +15,12 @@ jobs:
|
|||||||
# Use uv to ensure we have the same ruff version in CI and locally.
|
# Use uv to ensure we have the same ruff version in CI and locally.
|
||||||
- uses: astral-sh/setup-uv@v6
|
- uses: astral-sh/setup-uv@v6
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.11"
|
||||||
- run: |
|
- run: |
|
||||||
cd api
|
cd api
|
||||||
uv sync --dev
|
uv sync --dev
|
||||||
|
# fmt first to avoid line too long
|
||||||
|
uv run ruff format ..
|
||||||
# Fix lint errors
|
# Fix lint errors
|
||||||
uv run ruff check --fix .
|
uv run ruff check --fix .
|
||||||
# Format code
|
# Format code
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user