File: ruff.toml

package info (click to toggle)
python-tailscale 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 480 kB
  • sloc: python: 269; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
# 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...
  "SLF001", # Tests will access private/protected members...
  "TCH002", # pytest doesn't like this one...
]