1
mirror of https://github.com/home-assistant/core synced 2024-09-28 03:04:04 +02:00
ha-core/tests/ruff.toml
2024-04-01 21:28:54 +02:00

26 lines
448 B
TOML

# This extend our general Ruff rules specifically for tests
extend = "../pyproject.toml"
[lint]
extend-ignore = [
"B904", # Use raise from to specify exception cause
"N815", # Variable {name} in class scope should not be mixedCase
]
[lint.isort]
known-first-party = [
"homeassistant",
"tests",
"script",
]
known-third-party = [
"syrupy",
"pytest",
"voluptuous",
"pylint",
]
forced-separate = [
"tests",
]