Skip to content

chore: Container for Copilot Workspace#411

Merged
DaveSkender merged 5 commits intomainfrom
DaveSkender/add-devcontainer
Jan 1, 2025
Merged

chore: Container for Copilot Workspace#411
DaveSkender merged 5 commits intomainfrom
DaveSkender/add-devcontainer

Conversation

@DaveSkender
Copy link
Member

@DaveSkender DaveSkender commented Jan 1, 2025

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:

    • Container name and image specification.
    • Terminal shell setting to use Bash.
    • List of VS Code extensions for Python development, including linters and formatters.
    • Post-creation command to install project dependencies.
    • Workspace folder setting.
    • Build and test tasks for the project.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.

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).
@DaveSkender DaveSkender changed the title chore: Cntainer for Copilot Workspace chore: Container for Copilot Workspace Jan 1, 2025
@DaveSkender DaveSkender self-assigned this Jan 1, 2025
* 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`
@DaveSkender DaveSkender enabled auto-merge (squash) January 1, 2025 08:57
@DaveSkender DaveSkender merged commit 7b23a9d into main Jan 1, 2025
20 checks passed
@DaveSkender DaveSkender deleted the DaveSkender/add-devcontainer branch January 1, 2025 08:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant