Files
core/tests/ruff.toml
Franck Nijhof ef800335fb Enable Ruff PT022 (#86792)
* Enable Ruff PT022

* Adjust found cases
2023-01-27 13:57:06 +01:00

9 lines
382 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()
"PT022", # No teardown in fixture, replace useless yield with return
]