mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00: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:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user