Skip to content

Commit

Permalink
lint with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Feb 21, 2024
1 parent 7e11363 commit d476d46
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Linting
on: [push]

name: Ruff
on: [push, pull_request]
jobs:
lint:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: python -m pip install black[jupyter]
- run: |
black . --check
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1

0 comments on commit d476d46

Please sign in to comment.