kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_iGate
add clang-format-11 support
rodzic
2fa33acbaf
commit
fc053ebf97
|
@ -1,4 +1,6 @@
|
||||||
ARG VARIANT="3.10-bullseye"
|
ARG VARIANT="3.10-bullseye"
|
||||||
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
|
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y clang-format-11
|
||||||
|
|
||||||
RUN pip3 --disable-pip-version-check --no-cache-dir install platformio
|
RUN pip3 --disable-pip-version-check --no-cache-dir install platformio
|
||||||
|
|
|
@ -19,12 +19,14 @@
|
||||||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
||||||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
||||||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
||||||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
|
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
|
||||||
|
"clang-format.executable": "clang-format-11"
|
||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"platformio.platformio-ide"
|
"platformio.platformio-ide",
|
||||||
|
"xaver.clang-format"
|
||||||
],
|
],
|
||||||
"postCreateCommand": "pip3 install --user platformio",
|
"postCreateCommand": "pip3 install --user platformio",
|
||||||
//"remoteUser": "vscode"
|
//"remoteUser": "vscode"
|
||||||
|
|
Ładowanie…
Reference in New Issue