xref: /openbmc/qemu/tests/qemu-iotests/pylintrc (revision be93fd53)
1[MESSAGES CONTROL]
2
3# Disable the message, report, category or checker with the given id(s). You
4# can either give multiple identifiers separated by comma (,) or put this
5# option multiple times (only on the command line, not in the configuration
6# file where it should appear only once). You can also use "--disable=all" to
7# disable everything first and then reenable specific checks. For example, if
8# you want to run only the similarities checker, you can use "--disable=all
9# --enable=similarities". If you want to run only the classes checker, but have
10# no Warning level messages displayed, use "--disable=all --enable=classes
11# --disable=W".
12disable=invalid-name,
13        no-else-return,
14        too-few-public-methods,
15        too-many-arguments,
16        too-many-positional-arguments,
17        too-many-branches,
18        too-many-lines,
19        too-many-locals,
20        too-many-public-methods,
21        # pylint warns about Optional[] etc. as unsubscriptable in 3.9
22        unsubscriptable-object,
23        # pylint's static analysis causes false positives for file_path();
24        # If we really care to make it statically knowable, we'll use mypy.
25        unbalanced-tuple-unpacking,
26        # Sometimes we need to disable a newly introduced pylint warning.
27        # Doing so should not produce a warning in older versions of pylint.
28        bad-option-value,
29        # These are temporary, and should be removed:
30        missing-docstring,
31        too-many-return-statements,
32        too-many-statements,
33        consider-using-f-string,
34
35
36[REPORTS]
37
38# Activate the evaluation score.
39score=no
40
41
42[MISCELLANEOUS]
43
44# List of note tags to take in consideration, separated by a comma.
45# TODO notes are fine, but FIXMEs or XXXs should probably just be
46# fixed (in tests, at least).
47notes=FIXME,
48      XXX,
49
50
51[FORMAT]
52
53# Maximum number of characters on a single line.
54max-line-length=79
55
56
57[SIMILARITIES]
58
59min-similarity-lines=10
60