File: ruff.toml

package info (click to toggle)
python-ring-doorbell 0.9.13-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 972 kB
  • sloc: python: 4,764; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (2)
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
]