J. Nick Koston
6656f7d6b9
Log directory blocking I/O functions that run in the event loop ( #118529 )
...
* Log directory I/O functions that run in the event loop
* tests
2024-05-31 11:09:19 -04:00
J. Nick Koston
1fef4fa1f6
Prevent time.sleep calls from blocking the event loop ( #118561 )
...
* Prevent time.sleep calls from blocking the event loop
We have been warning on these since Jan 2022. 2+ years seems more than enough
time to give to fix these. see https://github.com/home-assistant/core/pull/63766
* Prevent time.sleep calls from blocking the event loop
We have been warning on these since Jan 2022. 2+ years seems more than enough
time to give to fix these. see https://github.com/home-assistant/core/pull/63766
2024-05-31 11:08:22 -04:00
J. Nick Koston
11f49280c9
Enable open protection in the event loop ( #117289 )
2024-05-13 08:50:31 +09:00
J. Nick Koston
d06932bbc2
Refactor asyncio loop protection to improve performance ( #117295 )
2024-05-13 07:01:55 +09:00
J. Nick Koston
5038a035bd
Detect blocking module imports in the event loop ( #114488 )
2024-03-30 19:51:31 -10:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
Marc Mueller
386533a16f
Update mypy to 1.1.1 ( #89268 )
...
* Update mypy to 1.1.1
* Update pydantic to 1.10.6
2023-03-08 22:57:54 +01:00
Franck Nijhof
64c2340fab
Core code styling improvements ( #85963 )
2023-01-15 23:00:51 +01:00
Marc Mueller
8d2fb72cc3
Add type ignore error codes [core] ( #66773 )
2022-02-17 23:09:22 -08:00
Matthias Alphart
dc58bc375a
Warn on`time.sleep` in event loop ( #63766 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-11 17:55:24 +01:00
Ruslan Sayfutdinov
55f4962c06
Fix pylint plugin which checks relative imports ( #62693 )
2021-12-23 11:14:47 -08:00
Ville Skyttä
aa1c5fc43d
Various type hint improvements ( #37952 )
2020-07-22 08:06:37 -07:00
Paulus Schoutsen
d011b46985
Patch http.client to not do I/O in the event loop ( #34194 )
2020-04-15 15:32:10 -07:00