File: ruff.toml

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (14 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (12)
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`
]