mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Add devcontainer config
This commit is contained in:
parent
bc737aad04
commit
1c6462fb76
4 changed files with 49 additions and 1 deletions
33
.devcontainer/Python 3.11/devcontainer.json
Normal file
33
.devcontainer/Python 3.11/devcontainer.json
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
// 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": "Python 3.11",
|
||||||
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm",
|
||||||
|
|
||||||
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
|
// "features": {},
|
||||||
|
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
|
"postCreateCommand": "pip3 install --user -r requirements-dev.txt",
|
||||||
|
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"mikestead.dotenv",
|
||||||
|
"EditorConfig.EditorConfig",
|
||||||
|
"GitHub.vscode-pull-request-github",
|
||||||
|
"hbenl.vscode-test-explorer",
|
||||||
|
"redhat.vscode-xml",
|
||||||
|
"ninoseki.vscode-pylens"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
|
}
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -66,7 +66,8 @@ Thumbs.db
|
||||||
|
|
||||||
.idea/
|
.idea/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.vscode/
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
pyinstrument/
|
pyinstrument/
|
||||||
|
|
||||||
# Now managed by templates
|
# Now managed by templates
|
||||||
|
|
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"ms-vscode-remote.remote-containers"
|
||||||
|
]
|
||||||
|
}
|
|
@ -15,3 +15,12 @@ coverage >= 5.2
|
||||||
flake8 >= 3.8
|
flake8 >= 3.8
|
||||||
flake8-import-order >= 0.18
|
flake8-import-order >= 0.18
|
||||||
websocket-client >= 0.57.0
|
websocket-client >= 0.57.0
|
||||||
|
|
||||||
|
types-requests >= 2.31
|
||||||
|
types-PyYAML >= 6.0.12
|
||||||
|
types-six >= 1.13
|
||||||
|
types-python-dateutil >= 2.8.1
|
||||||
|
types-setuptools >= 44.1.1
|
||||||
|
|
||||||
|
types-Pygments
|
||||||
|
types-colorama
|
||||||
|
|
Loading…
Reference in a new issue