Skip to content

Commit

Permalink
DX: recommend VS Code Jupyter extension
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Dec 18, 2024
1 parent 5739673 commit a45a6d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/compwa_policy/check_dev_files/jupyter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Update the developer setup when using Jupyter notebooks."""

from compwa_policy.utilities import vscode
from compwa_policy.utilities.pyproject import (
ModifiablePyproject,
has_pyproject_package_name,
Expand All @@ -8,6 +9,12 @@

def main(no_ruff: bool) -> None:
_update_dev_requirements(no_ruff)
# cspell:ignore toolsai
vscode.add_extension_recommendation("ms-toolsai.jupyter")
vscode.add_extension_recommendation("ms-toolsai.vscode-jupyter-cell-tags")
vscode.remove_extension_recommendation(
"ms-toolsai.vscode-jupyter-slideshow", unwanted=True
)


def _update_dev_requirements(no_ruff: bool) -> None:
Expand Down

0 comments on commit a45a6d5

Please sign in to comment.