mirror of
https://github.com/esphome/esphome.git
synced 2025-06-22 00:05:37 +01:00
.devcontainer
.github
.vscode
docker
esphome
script
api_protobuf
build_codeowners.py
build_jsonschema.py
bump-version.py
ci-custom.py
ci-suggest-changes
clang-format
clang-tidy
component_test
devcontainer-post-create
fulltest
helpers.py
lint-cpp
lint-python
quicklint
setup
test
unit_test
tests
.clang-format
.clang-tidy
.coveragerc
.dockerignore
.editorconfig
.gitignore
.gitpod.yml
.pre-commit-config.yaml
CODEOWNERS
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
platformio.ini
pylintrc
pyproject.toml
pytest.ini
requirements.txt
requirements_optional.txt
requirements_test.txt
setup.cfg
setup.py
14 lines
192 B
Bash
Executable File
14 lines
192 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
if [[ ! -e ".gcc-flags.json" ]]; then
|
|
pio init --ide atom
|
|
fi
|
|
|
|
set -x
|
|
|
|
script/clang-tidy $@ --fix --all-headers
|
|
script/clang-format $@ -i
|