Skip to content

Commit 4822ecc

Browse files
committed
run ruff in the CI
Signed-off-by: Gaëtan Lehmann <[email protected]>
1 parent 42f8eab commit 4822ecc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: .github/workflows/jobs-check.yml

+18
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,21 @@ jobs:
5555
run: cp data.py-dist data.py
5656
- name: Check with pyright
5757
run: pyright lib/ # tests/
58+
59+
ruff:
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v2
63+
- name: Set up Python
64+
uses: actions/setup-python@v4
65+
with:
66+
python-version: 3.8
67+
- name: Install dependencies
68+
run: |
69+
python -m pip install --upgrade pip
70+
pip install -r requirements/base.txt
71+
pip install ruff
72+
- name: Create a dummy data.py
73+
run: cp data.py-dist data.py
74+
- name: Check with ruff
75+
run: ruff lib/ tests/

0 commit comments

Comments
 (0)