[Python] Is there a well documented series of steps which will build a Jupyter Lab environment...

Discussão em 'Python' iniciado por Stack, Junho 5, 2025.

  1. Stack

    Stack Membro Participativo

    Here's my general setup - I use miniforge3 to manage my environments.

    • The base environment remains untouched except for occasional updates.
    • I create a Jupyter environment with nb_conda_kernels to isolate the interface from projects.
    • Additional environments are created based on need (usually per project)

    I have tried to get a combination of Linting and Formatting in the Jupyter environment so that I can apply it across different kernels.

    I don't really understand how the different formatting and linter options agree with or contradict one another.

    Is there a combination of tab/auto-completion, linting and formatting that integrates nicely with jupyterlab-lsp and Python?

    If that question seems too much like I'm asking for an opinion or advice, then...

    What series of steps can I follow to get ruff to both lint and format .py files and .ipynb files using pylsp as the Python language server? Or, what environment.yml can I use?

    Continue reading...

Compartilhe esta Página