diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cbec6a9..453af6f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/settings.ini b/settings.ini index 4ac75c7..bfe7989 100644 --- a/settings.ini +++ b/settings.ini @@ -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 =