Skip to content

Commit 731492b

Browse files
authored
Use ruff version from pyproject (Chainlit#1769)
* Use ruff version from pyproject. * Bump ruff. * Bump lock file.
1 parent 6210c61 commit 731492b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/lint-backend.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Lint with ruff
2020
uses: astral-sh/ruff-action@v1
2121
with:
22-
version: '0.9.0'
22+
version-file: "backend/pyproject.toml"
2323
src: ${{ env.BACKEND_DIR }}
2424
changed-files: "true"
2525
- name: Check formatting with ruff
2626
uses: astral-sh/ruff-action@v1
2727
with:
28-
version: '0.9.0'
28+
version-file: "backend/pyproject.toml"
2929
src: ${{ env.BACKEND_DIR }}
3030
changed-files: "true"
3131
args: "format --check"

backend/poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ ignore_missing_imports = true
123123

124124

125125

126+
126127
[tool.poetry.group.custom-data]
127128
optional = true
128129

0 commit comments

Comments
 (0)