Skip to content

Commit

Permalink
Add ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
itepifanio committed Mar 3, 2024
1 parent 046310c commit d888472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
python -m pip install --upgrade pip
pip install -U nbdev
pip install -e ".[dev]"
- name: Run lint
run: |
nbqa ruff --fix nbs/*.ipynb -v
- name: Run Tests
run: |
nbdev_test
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ language = English
status = 3
user = itepifanio
requirements = ipykernel>=6.20.1
dev_requirements = solara>=1.26.1
dev_requirements = solara>=1.26.1 nbqa>=1.8.3 ruff>=0.3.0
readme_nb = index.ipynb
allowed_metadata_keys =
allowed_cell_metadata_keys =
Expand Down

0 comments on commit d888472

Please sign in to comment.