While looking at #13 I noticed that the notebooks are not being formatted by ruff.
This was due to a faulty configuration in tox.ini where we used to run nbqa ruff docs/. However, this only runs ruff's linter and not the formatter. And running via nbqa does not support specifying a subcommand.
Luckily, ruff has builtin support for notebooks, which this PR enables.
While looking at #13 I noticed that the notebooks are not being formatted by
ruff
. This was due to a faulty configuration intox.ini
where we used to runnbqa ruff docs/
. However, this only runs ruff's linter and not the formatter. And running vianbqa
does not support specifying a subcommand. Luckily, ruff has builtin support for notebooks, which this PR enables.