We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1d884 commit de242bcCopy full SHA for de242bc
.github/workflows/lint.yml
@@ -1,4 +1,4 @@
1
-name: black
+name: lint
2
3
on:
4
push:
@@ -15,10 +15,24 @@ on:
15
16
jobs:
17
lint:
18
+ name: Test Linting
19
+ timeout-minutes: 5
20
runs-on: ubuntu-latest
- if: ${{ !github.event.pull_request.draft }}
21
+ strategy:
22
+ fail-fast: false
23
steps:
- - uses: actions/checkout@v4
- - uses: psf/black@stable
- with:
24
- src: "./fastplotlib"
+ - uses: actions/checkout@v4
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: '3.12'
29
+ - name: Install dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install ruff
33
+ - name: Ruff lint
34
35
+ ruff check --output-format=github .
36
+ - name: Ruff format
37
38
+ ruff format --check .
0 commit comments