mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-22 11:58:49 +03:00
Add devcontainer/features for use Codespaces
- Install [act](https://github.com/dhoeric/features/tree/main/src/act#reference) - run github action locally - Features like black, flake8 , docker-in-docker
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "Python 3",
|
||||
"image": "mcr.microsoft.com/devcontainers/python:3.9",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/node:1": {
|
||||
"version": "latest"
|
||||
},
|
||||
"ghcr.io/devcontainers-contrib/features/black:1": {},
|
||||
"ghcr.io/devcontainers-contrib/features/flake8:1": {},
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:1": {},
|
||||
"ghcr.io/dhoeric/features/act:1": {}
|
||||
}
|
||||
|
||||
// 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.txt",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
||||
Reference in New Issue
Block a user