File: pyproject.toml

package info (click to toggle)
dh-python 7.20251231
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: python: 6,487; makefile: 605; perl: 251; sh: 36
file content (64 lines) | stat: -rw-r--r-- 1,691 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

[tool.pylint.main]
persistent = false

[tool.pylint."messages control"]
disable = [
    "abstract-method",
    # "anomalous-backslash-in-string",
    "arguments-differ",
    # "assignment-from-no-return",
    "attribute-defined-outside-init",
    "broad-exception-caught",
    "broad-exception-raised",
    "consider-using-f-string",
    # "consider-using-sys-exit",
    # "consider-using-with",
    "cyclic-import",
    # "deprecated-method",
    # "duplicate-string-formatting-argument",
    "eval-used",
    # "expression-not-assigned",
    "fixme",
    "global-statement",
    "import-outside-toplevel",
    "inconsistent-return-statements",
    "invalid-name",
    "line-too-long",
    # "logging-fstring-interpolation",
    "missing-class-docstring",
    "missing-function-docstring",
    "missing-module-docstring",
    # "no-else-raise",
    "no-else-return",
    "no-member",
    "pointless-statement",   # FIXME: dhpython/pydist.py:380:20 looks like a bug?
    "protected-access",
    "raise-missing-from",
    "redefined-argument-from-local",
    "redefined-outer-name",
    # "super-with-arguments",
    "too-few-public-methods",
    "too-many-arguments",
    "too-many-boolean-expressions",
    "too-many-branches",
    "too-many-instance-attributes",
    "too-many-locals",
    "too-many-nested-blocks",
    "too-many-public-methods",
    "too-many-return-statements",
    "too-many-statements",
    # "unspecified-encoding",
    # "unused-argument",
    # "unused-import",
    # "unused-variable",
    # "use-dict-literal",
    # "use-maxsplit-arg",
    "wrong-import-position",
]

[tool.pylint.reports]
reports = false

[tool.pylint.similarities]
min-similarity-lines = 999