mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Enable Ruff PT002, PT003 (#87686)
This commit is contained in:
parent
6582367917
commit
380bfe5b28
@ -3,6 +3,8 @@ extend = "../pyproject.toml"
|
||||
|
||||
extend-select = [
|
||||
"PT001", # Use @pytest.fixture without parentheses
|
||||
"PT002", # Configuration for fixture specified via positional args, use kwargs
|
||||
"PT003", # The scope='function' is implied in @pytest.fixture()
|
||||
"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
|
||||
|
Loading…
x
Reference in New Issue
Block a user