xref: /openbmc/qemu/tests/qemu-iotests/pylintrc (revision ac4e14f5)
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*ac4e14f5SEmanuele Giuseppe Esposito        # Sometimes we need to disable a newly introduced pylint warning.
23*ac4e14f5SEmanuele Giuseppe Esposito        # Doing so should not produce a warning in older versions of pylint.
24*ac4e14f5SEmanuele Giuseppe Esposito        bad-option-value,
25576dc22bSJohn Snow        # These are temporary, and should be removed:
26576dc22bSJohn Snow        missing-docstring,
27d0bc4123SVladimir Sementsov-Ogievskiy        too-many-return-statements,
28d0bc4123SVladimir Sementsov-Ogievskiy        too-many-statements
29b031e9a5SJohn Snow
30b031e9a5SJohn Snow[FORMAT]
31b031e9a5SJohn Snow
32b031e9a5SJohn Snow# Maximum number of characters on a single line.
33b031e9a5SJohn Snowmax-line-length=79
34