File: ruff.toml

package info (click to toggle)
python-aiohasupervisor 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 932 kB
  • sloc: python: 4,666; sh: 37; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This extend our general Ruff rules specifically for tests
extend = "../pyproject.toml"

lint.extend-select = [
    "PT", # Use @pytest.fixture without parentheses
]

lint.extend-ignore = [
    "PLR2004", # Magic values are fine in tests
    "RUF018",  # Tests are never run with asserts disabled
    "S101",    # Use of assert detected
    "SLF001",  # Tests will access private/protected members
]