Skip to content

Commit

Permalink
switch linting workflow to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Jun 14, 2024
1 parent 72bb2cb commit 91881e7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Linting
on: [push]
name: Formatting Check
on: [push, pull_request]

jobs:
lint:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- run: python -m pip install black[jupyter]
- run: |
black . --check
- run: python -m pip install ruff
- run: ruff --check .

0 comments on commit 91881e7

Please sign in to comment.