add clang-format-11 support

pull/194/head
Peter Buchegger 2022-05-26 06:08:47 +00:00 zatwierdzone przez GitHub
rodzic 2fa33acbaf
commit fc053ebf97
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -1,4 +1,6 @@
ARG VARIANT="3.10-bullseye"
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

Wyświetl plik

@ -19,12 +19,14 @@
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
"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": [
"ms-python.python",
"ms-python.vscode-pylance",
"platformio.platformio-ide"
"platformio.platformio-ide",
"xaver.clang-format"
],
"postCreateCommand": "pip3 install --user platformio",
//"remoteUser": "vscode"