Skip to content

Commit 46e0735

Browse files
committed
Add ruff format/check to CI
1 parent 81c3bdc commit 46e0735

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

21-
# You can test your matrix by printing the current Python version
2221
- name: Run script
2322
run: ./fetch_python_docs.py
23+
24+
- name: Ruff format & check
25+
run: |
26+
ruff format --check
27+
ruff check

‎ruff.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[lint]
2+
extend-select = ["I"]

0 commit comments

Comments
 (0)