| 1 |
extend = "../pyproject.toml" |
| 2 |
|
| 3 |
[lint] |
| 4 |
extend-select = [ |
| 5 |
"PT001", # Use @pytest.fixture without parentheses |
| 6 |
"PT002", # Configuration for fixture specified via positional args, use kwargs |
| 7 |
"PT003", # The scope='function' is implied in @pytest.fixture() |
| 8 |
"PT006", # Single parameter in parameterize is a string, multiple a tuple |
| 9 |
"PT013", # Found incorrect pytest import, use simple import pytest instead |
| 10 |
"PT015", # Assertion always fails, replace with pytest.fail() |
| 11 |
"PT021", # use yield instead of request.addfinalizer |
| 12 |
"PT022", # No teardown in fixture, replace useless yield with return |
| 13 |
] |
| 14 |
|
| 15 |
extend-ignore = [ |
| 16 |
"PLC", # pylint |
| 17 |
"PLE", # pylint |
| 18 |
"PLR", # pylint |
| 19 |
"PLW", # pylint |
| 20 |
"B904", # Use raise from to specify exception cause |
| 21 |
"N815", # Variable {name} in class scope should not be mixedCase |
| 22 |
] |