Skip to content

Commit

Permalink
Add ruff linter and formatter checks
Browse files Browse the repository at this point in the history
  • Loading branch information
wigging committed Jan 1, 2024
1 parent 1666d2d commit 0dc9bb5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run tests
name: Run tests and checks

on: [push, pull_request]

Expand Down Expand Up @@ -33,3 +33,12 @@ jobs:
pip install sphinx sphinx-rtd-theme
cd docs
make doctest
- name: Check with ruff linter
run: |
pip install ruff
ruff check src
- name: Check with ruff formatter
run: |
ruff format --check src

0 comments on commit 0dc9bb5

Please sign in to comment.