-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'staging' into miguel/sasrec_unirec
- Loading branch information
Showing
57 changed files
with
1,105 additions
and
1,058 deletions.
There are no files selected for viewing
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,44 +1,54 @@ | ||
{ | ||
"name": "Recommenders", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"context": "..", | ||
"args": { | ||
// Python version: 3, 3.6, 3.7 | ||
"PYTHON_VERSION": "3.7", | ||
"REMOTE_USER": "vscode" | ||
} | ||
}, | ||
"name": "Recommenders", | ||
"build": { | ||
"dockerfile": "../tools/docker/Dockerfile", | ||
"context": "..", | ||
"target": "deps", | ||
"args": { | ||
"COMPUTE": "cpu", | ||
"PYTHON_VERSION": "3.11" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
// Set default container specific settings.json values on container | ||
// create | ||
"settings": { | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit" | ||
} | ||
}, | ||
"isort.args": ["--profile", "black"], | ||
"python.analysis.autoImportCompletions": true, | ||
// Conda env name *must* align with the one in Dockerfle | ||
"python.defaultInterpreterPath": "/root/conda/envs/Recommenders/bin/python", | ||
"python.testing.pytestEnabled": true, | ||
// Test directory | ||
"python.testing.pytestArgs": ["tests"] | ||
}, | ||
// VS Code extensions to install on container create | ||
"extensions": [ | ||
// https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter | ||
"ms-python.black-formatter", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-python.isort | ||
"ms-python.isort", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-python.mypy-type-checker | ||
"ms-python.mypy-type-checker", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-python.pylint | ||
"ms-python.pylint", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-python.python | ||
"ms-python.python", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-toolsai.datawrangler | ||
"ms-toolsai.datawrangler", | ||
// https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter | ||
"ms-toolsai.jupyter" | ||
] | ||
} | ||
}, | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"python.pythonPath": "/usr/local/bin/python", | ||
"python.languageServer": "Pylance", | ||
"python.linting.enabled": true, | ||
"python.linting.pylintEnabled": true, | ||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", | ||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black", | ||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", | ||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit", | ||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", | ||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", | ||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", | ||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", | ||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
], | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [8888], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "pip install -U pip && pip install --user -e .[dev,examples,spark,xlearn]", | ||
|
||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
// Install Recommenders in development mode after container create | ||
"postCreateCommand": "bash -i -c 'conda activate Recommenders && conda install -c conda-forge -y openjdk=21 && pip install -e .[dev,spark]'" | ||
} |
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,5 +1,5 @@ | ||
# See https://help.github.com/articles/about-codeowners/ | ||
# for more info about CODEOWNERS file | ||
|
||
* @miguelgfierro @gramhagen @anargyri @loomlike @wutaomsft @simonyansenzhao | ||
* @miguelgfierro @gramhagen @anargyri @loomlike @wav8k @simonyansenzhao | ||
|
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
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
Oops, something went wrong.