xref: /openbmc/qemu/tests/qemu-iotests/pylintrc (revision 3765315d)
1576dc22bSJohn Snow[MESSAGES CONTROL]
2576dc22bSJohn Snow
3576dc22bSJohn Snow# Disable the message, report, category or checker with the given id(s). You
4576dc22bSJohn Snow# can either give multiple identifiers separated by comma (,) or put this
5576dc22bSJohn Snow# option multiple times (only on the command line, not in the configuration
6576dc22bSJohn Snow# file where it should appear only once). You can also use "--disable=all" to
7576dc22bSJohn Snow# disable everything first and then reenable specific checks. For example, if
8576dc22bSJohn Snow# you want to run only the similarities checker, you can use "--disable=all
9576dc22bSJohn Snow# --enable=similarities". If you want to run only the classes checker, but have
10576dc22bSJohn Snow# no Warning level messages displayed, use "--disable=all --enable=classes
11576dc22bSJohn Snow# --disable=W".
12576dc22bSJohn Snowdisable=invalid-name,
13576dc22bSJohn Snow        no-else-return,
14576dc22bSJohn Snow        too-few-public-methods,
15576dc22bSJohn Snow        too-many-arguments,
16576dc22bSJohn Snow        too-many-branches,
17576dc22bSJohn Snow        too-many-lines,
18576dc22bSJohn Snow        too-many-locals,
19576dc22bSJohn Snow        too-many-public-methods,
20eeb7314cSKevin Wolf        # pylint warns about Optional[] etc. as unsubscriptable in 3.9
21eeb7314cSKevin Wolf        unsubscriptable-object,
22*3765315dSJohn Snow        # pylint's static analysis causes false positivies for file_path();
23*3765315dSJohn Snow        # If we really care to make it statically knowable, we'll use mypy.
24*3765315dSJohn Snow        unbalanced-tuple-unpacking,
25ac4e14f5SEmanuele Giuseppe Esposito        # Sometimes we need to disable a newly introduced pylint warning.
26ac4e14f5SEmanuele Giuseppe Esposito        # Doing so should not produce a warning in older versions of pylint.
27ac4e14f5SEmanuele Giuseppe Esposito        bad-option-value,
28576dc22bSJohn Snow        # These are temporary, and should be removed:
29576dc22bSJohn Snow        missing-docstring,
30d0bc4123SVladimir Sementsov-Ogievskiy        too-many-return-statements,
31*3765315dSJohn Snow        too-many-statements,
32*3765315dSJohn Snow        consider-using-f-string,
33b031e9a5SJohn Snow
34b031e9a5SJohn Snow[FORMAT]
35b031e9a5SJohn Snow
36b031e9a5SJohn Snow# Maximum number of characters on a single line.
37b031e9a5SJohn Snowmax-line-length=79
38