mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 22:14:54 +01:00
Fix default environment for clang-tidy (#2420)
* Drop unnecessary platformio call from script/lint-cpp * Default environment for clang-tidy to esp32-tidy
This commit is contained in:
parent
946db3fd50
commit
0e4f1ac40d
2 changed files with 1 additions and 4 deletions
|
@ -122,7 +122,7 @@ def main():
|
|||
parser.add_argument('-j', '--jobs', type=int,
|
||||
default=multiprocessing.cpu_count(),
|
||||
help='number of tidy instances to be run in parallel.')
|
||||
parser.add_argument('-e', '--environment', default='esp8266-tidy',
|
||||
parser.add_argument('-e', '--environment', default='esp32-tidy',
|
||||
help='the PlatformIO environment to run against (esp8266-tidy or esp32-tidy)')
|
||||
parser.add_argument('files', nargs='*', default=[],
|
||||
help='files to be processed (regex on path)')
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
if [[ ! -e ".gcc-flags.json" ]]; then
|
||||
pio init --ide atom
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
|
|
Loading…
Reference in a new issue