xref: /qemu/tests/qemu-iotests/pylintrc (revision 0955d66e)
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 positivies 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[FORMAT]
35
36# Maximum number of characters on a single line.
37max-line-length=79
38