Skip to content

Commit

Permalink
customize lsp settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeliton committed Aug 21, 2024
1 parent 9953121 commit a55bbbe
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ RUN cat /tmp/jupyter_notebook_config_extra.py >> /etc/jupyter/jupyter_notebook_c
chmod -R uga+x /etc/jupyter/jupyter_notebook_config.py && \
chmod -R uga+x /etc/jupyter/jupyter_server_config.py && \
chmod -R uga+x /etc/jupyter/nbgrader_config.py

# Copy our default configuration for jupyterlab extensions
COPY /scripts/jupyter_settings_overrides.json /opt/conda/share/jupyter/lab/settings/overrides.json
RUN chown -R jovyan:users /opt/conda/share/jupyter/lab/settings && \
chmod 644 /opt/conda/share/jupyter/lab/settings/overrides.json

# Copy over R tests to /opt/manual_tests
RUN mkdir /opt/manual_tests
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@jupyterlab/completer-extension:manager": {
"autoCompletion": true
},
"@jupyter-lsp/jupyterlab-lsp:plugin": {
"language_servers": {
"pylsp": {
"serverSettings": {
"pylsp.plugins.pycodestyle.enabled": false
}
}
}
}
}

0 comments on commit a55bbbe

Please sign in to comment.