mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add pre-commit hooks to fix common formatting issues causing CI failures (#9494)
This commit is contained in:
		
							
								
								
									
										1
									
								
								tests/components/animation/.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/components/animation/.gitattributes
									
									
									
									
										vendored
									
									
								
							| @@ -1,4 +1,3 @@ | ||||
| *.apng        -text | ||||
| *.webp        -text | ||||
| *.gif        -text | ||||
|  | ||||
|   | ||||
| @@ -15,4 +15,3 @@ display: | ||||
|  | ||||
| packages: | ||||
|   animation: !include common.yaml | ||||
|  | ||||
|   | ||||
| @@ -21,4 +21,3 @@ binary_sensor: | ||||
|   - platform: ble_presence | ||||
|     irk: 1234567890abcdef1234567890abcdef | ||||
|     name: "ESP32 BLE Tracker with Identity Resolving Key" | ||||
|  | ||||
|   | ||||
| @@ -17,4 +17,3 @@ color: | ||||
|     hex: 008000 | ||||
|   - id: cps_blue | ||||
|     hex: 000080 | ||||
|  | ||||
|   | ||||
| @@ -41,4 +41,3 @@ display: | ||||
|       - delay 120ms | ||||
|       - [0x29] | ||||
|       - delay 20ms | ||||
|  | ||||
|   | ||||
| @@ -42,4 +42,3 @@ binary_sensor: | ||||
|     x_max: 480 | ||||
|     y_min: 320 | ||||
|     y_max: 360 | ||||
|  | ||||
|   | ||||
| @@ -15,4 +15,3 @@ sensor: | ||||
|       name: "Loop Time" | ||||
|     cpu_frequency: | ||||
|       name: "CPU Frequency" | ||||
|  | ||||
|   | ||||
| @@ -14,4 +14,3 @@ sensor: | ||||
|       name: "ENS160 Total Volatile Organic Compounds" | ||||
|     aqi: | ||||
|       name: "ENS160 Air Quality Index" | ||||
|  | ||||
|   | ||||
| @@ -9,4 +9,3 @@ esp32: | ||||
| wifi: | ||||
|   ssid: MySSID | ||||
|   password: password1 | ||||
|  | ||||
|   | ||||
| @@ -1,2 +1 @@ | ||||
| <<: !include common.yaml | ||||
|  | ||||
|   | ||||
| @@ -1,2 +1 @@ | ||||
| <<: !include common.yaml | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								tests/components/font/.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/components/font/.gitattributes
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +1 @@ | ||||
| *.pcf        -text | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								tests/components/lvgl/.gitattributes
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tests/components/lvgl/.gitattributes
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +1 @@ | ||||
| *.ttf        -text | ||||
|  | ||||
|   | ||||
| @@ -56,4 +56,3 @@ lvgl: | ||||
| packages: | ||||
|   lvgl: !include lvgl-package.yaml | ||||
|   xvgl: !include common.yaml | ||||
|  | ||||
|   | ||||
| @@ -3,4 +3,3 @@ substitutions: | ||||
|   scl_pin: GPIO22 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|  | ||||
|   | ||||
| @@ -35,4 +35,3 @@ display: | ||||
|         allow_other_uses: true | ||||
|       - number: ${enable_pin} | ||||
|     bus_mode: single | ||||
|  | ||||
|   | ||||
| @@ -4,4 +4,3 @@ substitutions: | ||||
|  | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| <<: !include common-esp32.yaml | ||||
|  | ||||
| http_request: | ||||
|  | ||||
|   | ||||
| @@ -11,4 +11,3 @@ openthread: | ||||
|   pskc: 0xc23a76e98f1a6483639b1ac1271e2e27 | ||||
|   mesh_local_prefix: fd53:145f:ed22:ad81::/64 | ||||
|   force_dataset: true | ||||
|  | ||||
|   | ||||
| @@ -9,4 +9,3 @@ packages: | ||||
|     file: common.yaml | ||||
|     ref: dev | ||||
|     refresh: 1d | ||||
|  | ||||
|   | ||||
| @@ -11,4 +11,3 @@ packages: | ||||
|     file: common.yaml | ||||
|     ref: dev | ||||
|     refresh: 1d | ||||
|  | ||||
|   | ||||
| @@ -41,4 +41,3 @@ display: | ||||
|       - delay 120ms | ||||
|       - [0x29] | ||||
|       - delay 20ms | ||||
|  | ||||
|   | ||||
| @@ -35,4 +35,3 @@ spi: | ||||
|     interface: any | ||||
|     clk_pin: 8 | ||||
|     mosi_pin: 9 | ||||
|  | ||||
|   | ||||
| @@ -35,4 +35,3 @@ spi: | ||||
|     interface: any | ||||
|     clk_pin: 8 | ||||
|     mosi_pin: 9 | ||||
|  | ||||
|   | ||||
| @@ -17,4 +17,3 @@ udp: | ||||
|         id: my_udp | ||||
|         data: !lambda |- | ||||
|           return std::vector<uint8_t>{1,3,4,5,6}; | ||||
|  | ||||
|   | ||||
| @@ -27,4 +27,3 @@ logger: | ||||
|   logs: | ||||
|     web_server: VERBOSE | ||||
|     web_server_idf: VERBOSE | ||||
|  | ||||
|   | ||||
| @@ -3,4 +3,3 @@ substitutions: | ||||
|   sda_pin: GPIO21 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user