1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
Files
core/tests/ruff.toml
2023-01-27 17:14:04 +01:00

10 lines
439 B
TOML

# This extend our general Ruff rules specifically for tests
extend = "../pyproject.toml"
extend-select = [
"PT001", # Use @pytest.fixture without parentheses
"PT013", # Found incorrect pytest import, use simple import pytest instead
"PT015", # Assertion always fails, replace with pytest.fail()
"PT021", # use yield instead of request.addfinalizer
"PT022", # No teardown in fixture, replace useless yield with return
]