mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Bump ruff from 0.9.2 to 0.11.0 (#8409)
This commit is contained in:
		| @@ -9,11 +9,10 @@ not be part of a unit test suite. | ||||
|  | ||||
| """ | ||||
|  | ||||
| import sys | ||||
| import pytest | ||||
|  | ||||
| from pathlib import Path | ||||
| import sys | ||||
|  | ||||
| import pytest | ||||
|  | ||||
| here = Path(__file__).parent | ||||
|  | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| import pytest | ||||
| from unittest.mock import Mock | ||||
|  | ||||
| from esphome import cpp_helpers as ch | ||||
| from esphome import const | ||||
| import pytest | ||||
|  | ||||
| from esphome import const, cpp_helpers as ch | ||||
|  | ||||
|  | ||||
| @pytest.mark.asyncio | ||||
|   | ||||
| @@ -1,7 +1,6 @@ | ||||
| import pytest | ||||
|  | ||||
| from hypothesis import given | ||||
| from hypothesis.strategies import ip_addresses | ||||
| import pytest | ||||
|  | ||||
| from esphome import helpers | ||||
|  | ||||
|   | ||||
| @@ -1,16 +1,17 @@ | ||||
| """Tests for the wizard.py file.""" | ||||
|  | ||||
| import os | ||||
|  | ||||
| import esphome.wizard as wz | ||||
| import pytest | ||||
| from esphome.core import CORE | ||||
| from esphome.components.esp8266.boards import ESP8266_BOARD_PINS | ||||
| from esphome.components.esp32.boards import ESP32_BOARD_PINS | ||||
| from esphome.components.bk72xx.boards import BK72XX_BOARD_PINS | ||||
| from esphome.components.rtl87xx.boards import RTL87XX_BOARD_PINS | ||||
| from unittest.mock import MagicMock | ||||
|  | ||||
| import pytest | ||||
|  | ||||
| from esphome.components.bk72xx.boards import BK72XX_BOARD_PINS | ||||
| from esphome.components.esp32.boards import ESP32_BOARD_PINS | ||||
| from esphome.components.esp8266.boards import ESP8266_BOARD_PINS | ||||
| from esphome.components.rtl87xx.boards import RTL87XX_BOARD_PINS | ||||
| from esphome.core import CORE | ||||
| import esphome.wizard as wz | ||||
|  | ||||
|  | ||||
| @pytest.fixture | ||||
| def default_config(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user