Skip to content

Commit 47b3bd0

Browse files
committed
Github action: run ruff on the python code
1 parent e646126 commit 47b3bd0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/code-quality.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,22 @@ jobs:
167167

168168
- name: Check
169169
run: npx --yes @taplo/cli fmt --check
170+
171+
python:
172+
runs-on: ubuntu-latest
173+
steps:
174+
- name: Clone repository
175+
uses: actions/checkout@v4
176+
with:
177+
persist-credentials: false
178+
179+
- name: ruff
180+
uses: astral-sh/ruff-action@v3
181+
with:
182+
src: "./util"
183+
184+
- name: ruff - format
185+
uses: astral-sh/ruff-action@v3
186+
with:
187+
src: "./util"
188+
args: format --check

0 commit comments

Comments
 (0)