Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Python",
"image": "mcr.microsoft.com/devcontainers/python:latest",
"features": {
"azure-cli": "latest",
"git": "latest"
},
"customizations": {
"vscode": {
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
},
"extensions": [
"ms-python.python"
]
}
}
}
22 changes: 22 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Development

## VSCode Setup

To set up VSCode for development:

1. start the editor with the Python devcontainer

1. install the dependencies:

```bash
# the _version.py file is generated and may need to be removed
rm python-gpt-po/_version.py

python -m pip install -e .
```

## Running the Tests

```bash
python -m pytest
```