You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We generally recommend packaging reusable code components into Python modules
where possible. However occasionally we support researchers who prefer a
notebook environment or projects which want to provide examples and tutorials in
notebook format. Notebooks can also be a valid alternative to Python scripts for
running and recording the results of numerical experiments for example.
Many of our recommended linters don't work out-of-the box on Jupyter
notebooks, however nbQA has been found to work well. This is a translation
tool that can be used to run our recommended linters over notebooks.
There is one exception: we've found that black's own Jupyter extension works
more reliably than black via nbQA.
Name
Short description
🚦
black[jupyter]
(also black-jupyter) black with the optional Jupyter extension.
Automatically convert notebooks to/from a plain text format that is more human readable and better for version control than the standard notebook format.