File: ruff-base.toml

package info (click to toggle)
libdrpm 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 900 kB
  • sloc: ansic: 8,372; python: 133; sh: 131; makefile: 8
file content (30 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net>
# SPDX-License-Identifier: BSD-2-Clause

target-version = "py310"
line-length = 100

[lint]
select = []
ignore = [
  # Copyright notices are handled differently in Debian packaging
  "CPY001",

  # No blank lines before the class docstring, TYVM
  "D203",

  # The multi-line docstring summary starts on the same line
  "D213",

  # We do not document everything in the docstrings
  "DOC201",
]

[lint.isort]
force-single-line = true
lines-after-imports = 2
single-line-exclusions = ["typing"]

[lint.per-file-ignores]
# This is a console tool, output is part of its job
"compile.py" = ["T201"]