Fix devcontainer

This commit is contained in:
ludeeus
2023-01-28 08:40:30 +00:00
parent a7085656c1
commit 9f37154bd5
4 changed files with 13 additions and 48 deletions

12
.devcontainer.json Normal file
View File

@ -0,0 +1,12 @@
{
"name": "hacs/get",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"extensions": [
"esbenp.prettier-vscode"
],
"features": {
"ghcr.io/devcontainers/features/common-utils": {
"configureZshAsDefaultShell": true
}
}
}

View File

@ -1,12 +0,0 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:debian-10
ENV DEBIAN_FRONTEND=noninteractive
# Install GH CLI
RUN apt-get update \
\
&& curl -sfSL https://raw.githubusercontent.com/microsoft/vscode-dev-containers/master/script-library/github-debian.sh | bash - \
\
&& apt install -y xz-utils \
&& wget -qO- "https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz" | tar -xJv \
&& cp shellcheck-stable/shellcheck /usr/bin/ \
&& rm -R shellcheck-stable

View File

@ -1,35 +0,0 @@
{
"name": "HACS install",
"build": {
"dockerfile": "Dockerfile",
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"visualstudioexptteam.vscodeintellicode",
"esbenp.prettier-vscode"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"terminal.integrated.shell.linux": "/bin/bash",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"python.pythonPath": "/usr/local/bin/python3",
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--target-version",
"py38"
],
"python.formatting.blackPath": "/usr/local/bin/black",
"python.linting.banditPath": "/usr/local/bin/bandit",
"python.linting.flake8Path": "/usr/local/bin/flake8",
"python.linting.mypyPath": "/usr/local/bin/mypy",
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.linting.pydocstylePath": "/usr/local/bin/pydocstyle"
}
}

View File

@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: HACS Issue tracker
url: https://github.com/hacs/integration/issues
about: For issues and feature requests related to HACS
about: For issues related to HACS