1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
# This extends 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...
"TCH002", # pytest doesn't like this one...
"PLR0913", # we're overwriting function that has many arguments
"ANN001", # type annotations - TODO
"ANN201", # return type annotations - TODO
"D103", # docstring - TODO
"ARG001", # Unused function argument - TODO
]
|