diff --git a/content/index.md b/content/index.md index f4ed8a0..2c80014 100644 --- a/content/index.md +++ b/content/index.md @@ -65,7 +65,7 @@ them to own projects**. - 12:45-13:30 - Working with Notebooks - Notebooks and version control - - Other tooling + - {doc}`notebooks/tooling` - {doc}`notebooks/sharing` - 13:30-14:15 - Other useful tools for Python development @@ -128,6 +128,7 @@ documentation collaboration dependencies testing +notebooks/tooling notebooks/sharing refactoring-concepts good-practices diff --git a/content/notebooks/button.jpg b/content/notebooks/button.jpg new file mode 100644 index 0000000..4a0d99e Binary files /dev/null and b/content/notebooks/button.jpg differ diff --git a/content/notebooks/packages.jpg b/content/notebooks/packages.jpg new file mode 100644 index 0000000..421b4fc Binary files /dev/null and b/content/notebooks/packages.jpg differ diff --git a/content/notebooks/tooling.md b/content/notebooks/tooling.md new file mode 100644 index 0000000..405d29f --- /dev/null +++ b/content/notebooks/tooling.md @@ -0,0 +1,25 @@ +# Other useful tooling for notebooks + + +## Code formatting + + + + +:::{figure} packages.jpg +:alt: Screenshot of three additional packages in environment.yml + +We need three additional packages to format code in JupyterLab: `jupyterlab-code-formatter`, `black`, and `isort`. +::: + + +:::{figure} button.jpg +:alt: Screenshot of the button to format code in JupyterLab + +This button will format the code in all cells of the notebook. +::: + + +:::{instructor-note} +We test it out together on an example notebook. +:::