Debian Codegraph @

tests/ruff.toml

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