mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Prevent imports from tests in core codebase (#133928)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
@@ -5,3 +5,7 @@ extend = "../pyproject.toml"
|
||||
forced-separate = [
|
||||
"tests",
|
||||
]
|
||||
|
||||
[lint.flake8-tidy-imports.banned-api]
|
||||
"async_timeout".msg = "use asyncio.timeout instead"
|
||||
"pytz".msg = "use zoneinfo instead"
|
||||
|
Reference in New Issue
Block a user