Notebook linting #625
Labels
dependencies
Pull requests that update a dependency file
documentation
Improvements or additions to documentation
testing and CI
Unit tests, coverage and continuous integration
Is your feature request related to a problem? Please describe.
ProbNum's source is linted rather extensively, but the notebooks are not at all.
This leads to some discrepancies in code quality, which are not great, especially since it affects the tutorials.
Describe the solution you'd like.
As discussed offline, we could apply
black
,isort
, andpylint
to the notebooks vianbqa
https://github.com/nbQA-dev/nbQA as part of the CI. This would detect some basic issues with the code quality in jupyter notebooks before merging them into main.Additional context
jupyter
runs into some issues.black
andisort
could be done straightforwardly,pylint
will require a large number of--disable="..."
statements and/or nontrivial refactoring in the notebooks.The text was updated successfully, but these errors were encountered: