core/homeassistant/helpers
Sid a5b609f081
Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
..
service_info Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
__init__.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
aiohttp_client.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
area_registry.py Avoid creating unneeded Context and Event objects when firing events (#113798) 2024-03-20 09:40:06 +01:00
category_registry.py Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
check_config.py Use a constant to reference `homeassistant` domain (#113889) 2024-03-23 19:58:39 +01:00
collection.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
condition.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00
config_entry_flow.py Await discovery_function in the DiscoveryFlowHandler instead of wrapping it in a task (#113115) 2024-03-11 21:37:03 -04:00
config_entry_oauth2_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
config_validation.py Allow numeric state trigger/condition against zone entities (#114221) 2024-03-26 19:41:46 +01:00
data_entry_flow.py Revert "Update typing-extensions to 4.11.0rc1 (#114116)" (#114216) 2024-03-25 20:44:57 -10:00
debounce.py Add the ability to create Debouncer tasks as background tasks (#113128) 2024-03-12 08:41:12 -04:00
deprecation.py Clean up unneeded ruff noqa directives (#113616) 2024-03-16 09:48:37 -10:00
device_registry.py Cache parsing the url for the device registry (#113910) 2024-03-20 19:35:01 -04:00
discovery.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
discovery_flow.py Use run_immediately for starting discovery at the started event (#113112) 2024-03-11 14:29:39 -10:00
dispatcher.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
entity.py Fix argument name in async_update_ha_state warning message (#113969) 2024-03-22 02:26:11 +01:00
entity_component.py Avoid creating inner function in EntityComponent setup (#114050) 2024-03-23 11:31:23 -10:00
entity_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
entity_registry.py Remove async_get_device_class_lookup from entity_registry (#114212) 2024-03-26 09:22:53 +01:00
entity_values.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
entityfilter.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
event.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
floor_registry.py Default floor level to None (and allow unsetting it) (#114249) 2024-03-26 18:58:25 +01:00
frame.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
group.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
http.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
httpx_client.py Use more f-strings [ruff] (#112695) 2024-03-08 18:44:42 +01:00
icon.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
importlib.py Add a helper to import modules from the event loop (#113169) 2024-03-14 00:26:33 -04:00
instance_id.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
integration_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
intent.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
issue_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
json.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
label_registry.py Replace EventType with Event [missing] (#112753) 2024-03-08 21:56:42 +01:00
location.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
network.py Remove deprecated `hass.components` from network helper function (#113615) 2024-03-17 17:42:48 +01:00
normalized_name_base_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
ratelimit.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
recorder.py Make dataclasses in HA core slotted (#91208) 2023-04-11 07:58:28 -10:00
redact.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
registry.py Fix delayed registry check to only using the short delay at running (#113471) 2024-03-14 15:11:09 -10:00
reload.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
restore_state.py Migrate restore_state shutdown to use run_immediately (#113786) 2024-03-19 08:42:49 +01:00
schema_config_entry_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
script.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00
script_variables.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
selector.py Add label selector (#111029) 2024-03-26 20:31:06 +01:00
sensor.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
service.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
signal.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
significant_change.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
singleton.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
start.py Run coroutines as eager tasks in async_run_hass_job (#111683) 2024-03-11 20:05:08 -04:00
state.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
storage.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
sun.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
system_info.py Fix system_info importing hassio in the event loop (#113903) 2024-03-20 12:06:40 -10:00
temperature.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
template.py Enable Ruff TRY201 (#114269) 2024-03-28 10:18:07 +01:00
trace.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
translation.py Avoid creating unneeded Context and Event objects when firing events (#113798) 2024-03-20 09:40:06 +01:00
trigger.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
trigger_template_entity.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
typing.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
update_coordinator.py Enable ruff TRY401 (#114395) 2024-03-29 07:20:36 +01:00