File: ruff.toml

package info (click to toggle)
cockpit 337-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,232 kB
  • sloc: javascript: 47,090; python: 38,766; ansic: 35,470; xml: 6,048; sh: 3,413; makefile: 614
file content (14 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (16)
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`
]