Skip to content

Commit 0b1fe58

Browse files
committed
Use ruff instead of black in CI
1 parent 77b0e71 commit 0b1fe58

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.github/workflows/black.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ruff.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- name: Install Python
9+
uses: actions/setup-python@v5
10+
with:
11+
python-version-file: ".python-version"
12+
13+
- name: Install dependencies
14+
run: |
15+
python -m pip install --upgrade pip
16+
pip install ruff
17+
18+
# Update output format to enable automatic inline annotations.
19+
- name: Run Ruff
20+
run: ruff check --output-format=github .

0 commit comments

Comments
 (0)