File: ruff.toml

package info (click to toggle)
python-rokuecp 0.19.5-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 668 kB
  • sloc: python: 2,193; xml: 547; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 487 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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...
      "PLC1901", # Tests may compare to empty strings...
      "TCH002", # pytest doesn't like this one...
      "E501", # string length doesn't matter for tests...
]