File: ruff.toml

package info (click to toggle)
cockpit 356-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 317,176 kB
  • sloc: javascript: 775,374; python: 41,133; ansic: 33,875; cpp: 11,141; sh: 3,534; makefile: 581; xml: 262
file content (14 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extend = "../../pyproject.toml"

# Tests run under the tasks container with Python 3.13
target-version = "py313"

[lint]
ignore = [
    "E501",     # https://github.com/charliermarsh/ruff/issues/3206#issuecomment-1562681390

    "B010",     # Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
    "FBT001",   # Boolean positional arg in function definition
    "FBT002",   # Boolean default value in function definition
    "PT009",    # Use a regular `assert` instead of unittest-style `assertEqual`
]