-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e94845c
commit 933b483
Showing
8 changed files
with
176 additions
and
189 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,17 @@ | ||
############################################################################################ | ||
# Dev Container for riverscapes-tools | ||
############################################################################################ | ||
FROM mcr.microsoft.com/devcontainers/python:3.11 AS worker | ||
|
||
# Some preliminary dependencies | ||
RUN apt update && apt upgrade -y && apt autoremove -y | ||
|
||
# Now install any lingering dependencies | ||
COPY requirements.docker.txt /workspaces/requirements.txt | ||
RUN pip --timeout=120 install -r /workspaces/requirements.txt | ||
|
||
# Now install user preferences | ||
USER vscode | ||
RUN wget https://raw.githubusercontent.com/Riverscapes/environment/master/nar-ys.zsh-theme -O ~/.oh-my-zsh/custom/themes/nar-ys.zsh-theme | ||
RUN wget https://raw.githubusercontent.com/Riverscapes/environment/master/.aliases -O ~/.aliases | ||
RUN wget https://raw.githubusercontent.com/Riverscapes/environment/master/.zshrc -O ~/.zshrc |
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,61 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
{ | ||
"name": "Riverscapes XML", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
"[python]": { | ||
"editor.tabSize": 4, | ||
"editor.formatOnSave": true | ||
}, | ||
"python.analysis.extraPaths": ["../../lib/commons"], | ||
"pylint.args": [ | ||
"--extension-pkg-whitelist=pygeoprocessing", | ||
"--ignore=E501", | ||
"--max-line-length=240" | ||
], | ||
"python.terminal.activateEnvironment": true, | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.unittestEnabled": true, | ||
"files.watcherExclude": { | ||
"**/*.egg-info/**": true, | ||
"**/docs/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
}, | ||
"search.exclude": { | ||
"**/*.egg-info/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
}, | ||
"files.exclude": { | ||
"**/*.egg-info/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
} | ||
}, | ||
// Suggested extensions that will be installed for everyone | ||
"extensions": [ | ||
"mhutchie.git-graph", | ||
"ms-python.autopep8", | ||
"ms-python.pylint", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"njpwerner.autodocstring", | ||
"redhat.vscode-xml", | ||
"unifiedjs.vscode-mdx", | ||
"yzhang.markdown-all-in-one", | ||
"GitHub.copilot-chat", | ||
"GitHub.copilot" | ||
] | ||
} | ||
} | ||
} |
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,16 @@ | ||
autopep8==1.7.0 | ||
charset-normalizer==3.1.0 | ||
exceptiongroup==1.1.1 | ||
jsonschema==4.15.0 | ||
lxml==4.9.2 | ||
packaging==23.1 | ||
pluggy==1.0.0 | ||
pycodestyle==2.10.0 | ||
pylint==2.15.0 | ||
pytest==7.2.0 | ||
requests==2.31.0 | ||
semver==3.0.0 | ||
termcolor==2.3.0 | ||
toml==0.10.2 | ||
tomli==2.0.1 | ||
urllib3==2.0.2 |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,66 +1,62 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"folders": [ | ||
{ | ||
"name": "📦 rsxml", | ||
"path": "python/packages/rsxml" | ||
}, | ||
{ | ||
"path": "python/packages/rsxml" | ||
}, | ||
{ | ||
"name": "🏠 Home", | ||
"path": "." | ||
} | ||
], | ||
"settings": { | ||
"path": "." | ||
} | ||
], | ||
"settings": { | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
"[python]": { | ||
"editor.tabSize": 4, | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "ms-python.autopep8", | ||
"editor.formatOnSave": true | ||
}, | ||
// "python.analysis.typeCheckingMode": "basic", | ||
"python.linting.ignorePatterns": [ | ||
"**/site-packages/**/*.py", | ||
".vscode/*.py" | ||
], | ||
"python.linting.pylintArgs": [ | ||
"--extension-pkg-whitelist=sqlite3,math,lxml", | ||
"--ignore=E501", | ||
"--max-line-length=240" | ||
], | ||
"python.linting.enabled": true, | ||
"python.linting.lintOnSave": true, | ||
"python.linting.pycodestyleEnabled": true, | ||
"python.linting.pylintEnabled": true, | ||
"python.linting.pycodestyleArgs": [ | ||
"--ignore=E501", | ||
"--max-line-length=240" | ||
], | ||
"python.formatting.autopep8Args": [ | ||
"pylint.args": [ | ||
"--extension-pkg-whitelist=pygeoprocessing", | ||
"--ignore=E501", | ||
"--max-line-length=240" | ||
], | ||
"python.terminal.activateEnvInCurrentTerminal": true, | ||
"python.terminal.activateEnvironment": true, | ||
"python.testing.pytestEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.unittestEnabled": true, | ||
"python.testing.autoTestDiscoverOnSaveEnabled": true, | ||
"files.exclude": { | ||
"**/*.egg-info": true, | ||
"**/.pytest_cache/**": true, | ||
"**/python/**": true, | ||
"**/.venv/**": true | ||
}, | ||
"files.watcherExclude": { | ||
"**/*.egg-info/**": true, | ||
"**/.pytest_cache/**": true, | ||
"**/dist/**": true, | ||
"**/build/**": true, | ||
"**/python/**": true, | ||
"**/.venv/**": true | ||
"**/docs/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
}, | ||
"search.exclude": { | ||
"**/*.egg-info": true, | ||
"**/.pytest_cache/**": true, | ||
"**/python/**": true, | ||
"**/.venv/**": true | ||
"**/*.egg-info/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
}, | ||
} | ||
"files.exclude": { | ||
"**/*.egg-info/**": true, | ||
"**/*.pytest_cache/**": true, | ||
"**/.venv/**": true, | ||
"**/__pycache__/**": true | ||
} | ||
}, | ||
// Suggested extensions that will be installed for everyone | ||
"extensions": { | ||
"recommendations": [ | ||
"mhutchie.git-graph", | ||
"ms-python.autopep8", | ||
"ms-python.pylint", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"njpwerner.autodocstring", | ||
"redhat.vscode-xml", | ||
"unifiedjs.vscode-mdx", | ||
"yzhang.markdown-all-in-one", | ||
"GitHub.copilot-chat", | ||
"GitHub.copilot" | ||
] | ||
} | ||
} |
Oops, something went wrong.