File: pylintrc

package info (click to toggle)
qemu 1%3A10.1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 415,888 kB
  • sloc: ansic: 4,763,605; pascal: 115,173; python: 105,698; asm: 68,689; sh: 53,146; makefile: 27,519; perl: 18,863; cpp: 11,443; xml: 3,629; objc: 2,877; yacc: 2,505; php: 1,299; tcl: 1,296; lex: 1,110; sql: 71; awk: 43; sed: 35; javascript: 7
file content (59 lines) | stat: -rw-r--r-- 1,934 bytes parent folder | download | duplicates (5)
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
[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=invalid-name,
        no-else-return,
        too-few-public-methods,
        too-many-arguments,
        too-many-positional-arguments,
        too-many-branches,
        too-many-lines,
        too-many-locals,
        too-many-public-methods,
        # pylint warns about Optional[] etc. as unsubscriptable in 3.9
        unsubscriptable-object,
        # pylint's static analysis causes false positives for file_path();
        # If we really care to make it statically knowable, we'll use mypy.
        unbalanced-tuple-unpacking,
        # Sometimes we need to disable a newly introduced pylint warning.
        # Doing so should not produce a warning in older versions of pylint.
        bad-option-value,
        # These are temporary, and should be removed:
        missing-docstring,
        too-many-return-statements,
        too-many-statements,
        consider-using-f-string,


[REPORTS]

# Activate the evaluation score.
score=no


[MISCELLANEOUS]

# List of note tags to take in consideration, separated by a comma.
# TODO notes are fine, but FIXMEs or XXXs should probably just be
# fixed (in tests, at least).
notes=FIXME,
      XXX,


[FORMAT]

# Maximum number of characters on a single line.
max-line-length=79


[SIMILARITIES]

min-similarity-lines=10