chore: Container for Copilot Workspace#411
Merged
DaveSkender merged 5 commits intomainfrom Jan 1, 2025
Merged
Conversation
Add a dev container configuration for GitHub Copilot compatibility. * Create `.devcontainer/devcontainer.json` file. * Configure the dev container with Python 3.9 image. * Add VS Code extensions for Python, Docker, Pylance, Flake8, Black Formatter, Isort, Jupyter, C++, GitLens, Prettier, and ESLint. * Set post-create command to install dependencies from `requirements.txt` and `requirements-test.txt`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/facioquo/stock-indicators-python?shareId=XXXX-XXXX-XXXX-XXXX).
* Add "github.copilot" to the list of VS Code extensions in the devcontainer.json file
* Create `devcontainer.json` file * Add configuration for Python Dev Container * Specify Python version 3.9 * Add VS Code extensions for Python, Pylance, Flake8, Black Formatter, Isort, Jupyter, GitLens, Prettier, ESLint, GitHub Copilot, and Remote Containers * Optimize post-create command to install dependencies from `requirements.txt` and `requirements-test.txt` * Add `workspaceFolder` property to specify the default workspace folder
* Specify Python version 3.9 * Add VS Code extensions for Python, Pylance, Flake8, Black Formatter, Isort, Jupyter, GitLens, Prettier, ESLint, GitHub Copilot, and Remote Containers * Optimize post-create command to install dependencies from `requirements.txt` and `requirements-test.txt` * Add `workspaceFolder` property to specify the default workspace folder
* Add `tasks` property with `build` and `test` tasks * Set `workspaceFolder` property to `/workspace`
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new development container configuration for a Python project. The configuration includes specifying the container image, terminal settings, necessary extensions, and post-creation commands.
Key changes:
.devcontainer/devcontainer.json: Added a new dev container configuration with the following:Create
.devcontainer/devcontainer.jsonfile.Configure the dev container with Python 3.9 image.
Add VS Code extensions for Python, Docker, Pylance, Flake8, Black Formatter, Isort, Jupyter, C++, GitLens, Prettier, and ESLint.
Set post-create command to install dependencies from
requirements.txtandrequirements-test.txt.For more details, open the Copilot Workspace session.