xref: /openbmc/qemu/tests/qemu-iotests/pylintrc (revision b2580720)
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-branches,
17        too-many-lines,
18        too-many-locals,
19        too-many-public-methods,
20        # pylint warns about Optional[] etc. as unsubscriptable in 3.9
21        unsubscriptable-object,
22        # pylint's static analysis causes false positives for file_path();
23        # If we really care to make it statically knowable, we'll use mypy.
24        unbalanced-tuple-unpacking,
25        # Sometimes we need to disable a newly introduced pylint warning.
26        # Doing so should not produce a warning in older versions of pylint.
27        bad-option-value,
28        # These are temporary, and should be removed:
29        missing-docstring,
30        too-many-return-statements,
31        too-many-statements,
32        consider-using-f-string,
33
34
35[REPORTS]
36
37# Activate the evaluation score.
38score=no
39
40
41[MISCELLANEOUS]
42
43# List of note tags to take in consideration, separated by a comma.
44# TODO notes are fine, but FIXMEs or XXXs should probably just be
45# fixed (in tests, at least).
46notes=FIXME,
47      XXX,
48
49
50[FORMAT]
51
52# Maximum number of characters on a single line.
53max-line-length=79
54
55
56[SIMILARITIES]
57
58min-similarity-lines=10
59