mirror of
https://github.com/esphome/esphome.git
synced 2025-07-03 21:53:10 +01:00
.github
docker
esphome
script
api_protobuf
build_compile_commands.py
ci-custom.py
ci-suggest-changes
clang-format
clang-tidy
fulltest
helpers.py
lint-cpp
lint-python
quicklint
setup
test
tests
.clang-format
.clang-tidy
.dockerignore
.editorconfig
.gitignore
.gitlab-ci.yml
.gitpod.yml
.pre-commit-config.yaml
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
platformio.ini
pylintrc
requirements.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
|