Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit de242bc

Browse filesBrowse files
committed
Update lint ci job
1 parent 8a1d884 commit de242bc
Copy full SHA for de242bc

File tree

1 file changed

+20
-6
lines changed
Filter options

1 file changed

+20
-6
lines changed

‎.github/workflows/lint.yml

Copy file name to clipboardExpand all lines: .github/workflows/lint.yml
+20-6Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: black
1+
name: lint
22

33
on:
44
push:
@@ -15,10 +15,24 @@ on:
1515

1616
jobs:
1717
lint:
18+
name: Test Linting
19+
timeout-minutes: 5
1820
runs-on: ubuntu-latest
19-
if: ${{ !github.event.pull_request.draft }}
21+
strategy:
22+
fail-fast: false
2023
steps:
21-
- uses: actions/checkout@v4
22-
- uses: psf/black@stable
23-
with:
24-
src: "./fastplotlib"
24+
- 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+
run: |
35+
ruff check --output-format=github .
36+
- name: Ruff format
37+
run: |
38+
ruff format --check .

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.