-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/pip/respx-0.19.2
- Loading branch information
Showing
5 changed files
with
126 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# See here for image contents: https://hub.docker.com/r/jupyter/scipy-notebook | ||
FROM jupyter/scipy-notebook | ||
LABEL maintainer="Msticpy Dev Team <[email protected]>" | ||
|
||
#installing Msticpy requirements and dependencies | ||
COPY ./requirements-all.txt /tmp/ | ||
COPY ./requirements-dev.txt /tmp/ | ||
RUN pip install --requirement /tmp/requirements-all.txt & \ | ||
pip install --requirement /tmp/requirements-dev.txt & \ | ||
pip install -e git+https://github.com/microsoft/msticpy | ||
COPY . /tmp/ | ||
|
||
# Activate ipywidgets extension in the environment that runs the notebook server | ||
RUN jupyter nbextension enable --py widgetsnbextension --sys-prefix && \ | ||
jupyter nbextension enable toc2/main --sys-prefix && \ | ||
jupyter nbextension enable execute_time/ExecuteTime --sys-prefix && \ | ||
jupyter nbextension enable python-markdown/main --sys-prefix && \ | ||
jupyter nbextension enable codefolding/main --sys-prefix && \ | ||
jupyter nbextension enable autosavetime/main --sys-prefix && \ | ||
jupyter nbextension enable tree-filter/index --sys-prefix && \ | ||
jupyter nbextension enable hide_input_all/main --sys-prefix && \ | ||
jupyter nbextension enable hinterland/hinterland --sys-prefix && \ | ||
jupyter nbextension enable varInspector/main --sys-prefix && \ | ||
jupyter nbextension enable spellchecker/main --sys-prefix && \ | ||
jupyter nbextension enable toggle_all_line_numbers/main --sys-prefix && \ | ||
jupyter nbextension enable --py qgrid --sys-prefix && \ | ||
jupyter nbextension install https://github.com/drillan/jupyter-black/archive/master.zip --sys-prefix && \ | ||
jupyter nbextension install --py nbdime --sys-prefix && \ | ||
jupyter nbextension enable jupyter-black-master/jupyter-black --sys-prefix && \ | ||
jupyter nbextension enable nbdime --py --sys-prefix && \ | ||
jupyter nbextension enable rise --py --sys-prefix && \ | ||
jupyter nbextensions_configurator enable --sys-prefix && \ | ||
jupyter labextension install @jupyterlab/git --no-build && \ | ||
jupyter labextension install @jupyterlab/github --no-build && \ | ||
jupyter labextension enable git && \ | ||
jupyter lab build --dev-build=False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"name": "Msticpy Python Development Container", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "Dockerfile" | ||
}, | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"python.defaultInterpreterPath": "/opt/conda/bin/python", | ||
"python.linting.enabled": true, | ||
"python.linting.flake8Path": "/opt/conda/bin/flake8", | ||
"python.formatting.provider": "black", | ||
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle", | ||
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle", | ||
"python.linting.pylintPath": "/opt/conda/bin/pylint", | ||
"files.autoSave": "afterDelay", | ||
"team.showWelcomeMessage": false, | ||
"python.linting.pylintEnabled": true, | ||
"python.linting.pydocstyleArgs": [""], | ||
"python.linting.pep8Enabled": true, | ||
"python.linting.pep8Args": ["--ignore=E501,E251,W503,E701"], | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.flake8Args": ["--max-line-length=90"], | ||
"python.linting.pydocstyleEnabled": true, | ||
"python.linting.mypyEnabled": true, | ||
"python.linting.pylintUseMinimalCheckers": false, | ||
"python.linting.prospectorEnabled": true, | ||
"python.linting.banditEnabled": true, | ||
"python.linting.ignorePatterns": [ | ||
".vscode/*.py", | ||
"**/site-packages/**/*.py", | ||
"**/tests/test_*.py", | ||
"docs/**", | ||
"docs/source/**", | ||
"docs/build/**" | ||
], | ||
"editor.tabSize": 4, | ||
"editor.suggestSelection": "first", | ||
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | ||
"autoDocstring.docstringFormat": "numpy", | ||
"git.autofetch": true, | ||
"python.terminal.activateEnvironment": false, | ||
"restructuredtext.linter.extraArgs": [ | ||
"--ignore D002", | ||
"--ignore D004" | ||
], | ||
"[python]": { | ||
}, | ||
"python.testing.pyTestArgs": [ | ||
"tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.nosetestsEnabled": false, | ||
"python.testing.pyTestEnabled": true, | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"eamodio.gitlens", | ||
"lextudio.restructuredtext", | ||
"mohsen1.prettify-json", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"njpwerner.autodocstring", | ||
"vscode-icons-team.vscode-icons", | ||
"github.vscode-pull-request-github" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "python --version", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters