1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
# This extend our general Ruff rules specifically for tests
extend = "../pyproject.toml"
lint.extend-select = [
"PT", # Use @pytest.fixture without parentheses
]
lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"S105", # Detection of passwords...
"S106", # Detection of passwords...
"SLF001", # Tests will access private/protected members...
"TC002", # pytest doesn't like this one...
"PLR0913", # we're overwriting function that has many arguments
]
|