mirror of https://github.com/langgenius/dify.git
fmt first (#26221)
This commit is contained in:
parent
e6d4331994
commit
46375aacdb
|
|
@ -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…
Reference in New Issue