xref: /openbmc/qemu/scripts/qapi/pylintrc (revision ce7fde06)
1e6522d88SJohn Snow[MASTER]
2e6522d88SJohn Snow
3e6522d88SJohn Snow[MESSAGES CONTROL]
4e6522d88SJohn Snow
5e6522d88SJohn Snow# Disable the message, report, category or checker with the given id(s). You
6e6522d88SJohn Snow# can either give multiple identifiers separated by comma (,) or put this
7e6522d88SJohn Snow# option multiple times (only on the command line, not in the configuration
8e6522d88SJohn Snow# file where it should appear only once). You can also use "--disable=all" to
9e6522d88SJohn Snow# disable everything first and then reenable specific checks. For example, if
10e6522d88SJohn Snow# you want to run only the similarities checker, you can use "--disable=all
11e6522d88SJohn Snow# --enable=similarities". If you want to run only the classes checker, but have
12e6522d88SJohn Snow# no Warning level messages displayed, use "--disable=all --enable=classes
13e6522d88SJohn Snow# --disable=W".
14*cebc1881SJohn Snowdisable=consider-using-f-string,
15*cebc1881SJohn Snow        fixme,
16e6522d88SJohn Snow        missing-docstring,
17e6522d88SJohn Snow        too-many-arguments,
18e6522d88SJohn Snow        too-many-branches,
19e6522d88SJohn Snow        too-many-instance-attributes,
20*cebc1881SJohn Snow        too-many-statements,
21885ecdbeSJohn Snow        useless-option-value,
22e6522d88SJohn Snow
23e6522d88SJohn Snow[REPORTS]
24e6522d88SJohn Snow
25e6522d88SJohn Snow[REFACTORING]
26e6522d88SJohn Snow
27e6522d88SJohn Snow[MISCELLANEOUS]
28e6522d88SJohn Snow
29e6522d88SJohn Snow[LOGGING]
30e6522d88SJohn Snow
31e6522d88SJohn Snow[BASIC]
32e6522d88SJohn Snow
3390254ec4SJohn Snow# Good variable names regexes, separated by a comma. If names match any regex,
3490254ec4SJohn Snow# they will always be accepted.
3590254ec4SJohn Snow#
3690254ec4SJohn Snow# Suppress complaints about short names.  PEP-8 is cool with them,
3790254ec4SJohn Snow# and so are we.
3890254ec4SJohn Snowgood-names-rgxs=^[_a-z][_a-z0-9]?$
39e6522d88SJohn Snow
40e6522d88SJohn Snow[VARIABLES]
41e6522d88SJohn Snow
42e6522d88SJohn Snow[STRING]
43e6522d88SJohn Snow
44e6522d88SJohn Snow[SPELLING]
45e6522d88SJohn Snow
46e6522d88SJohn Snow[FORMAT]
47e6522d88SJohn Snow
48e6522d88SJohn Snow[SIMILARITIES]
49e6522d88SJohn Snow
50e6522d88SJohn Snow# Ignore import statements themselves when computing similarities.
51e6522d88SJohn Snowignore-imports=yes
52e6522d88SJohn Snow
53e6522d88SJohn Snow[TYPECHECK]
54e6522d88SJohn Snow
55e6522d88SJohn Snow[CLASSES]
56e6522d88SJohn Snow
57e6522d88SJohn Snow[IMPORTS]
58e6522d88SJohn Snow
59e6522d88SJohn Snow[DESIGN]
60e6522d88SJohn Snow
61e6522d88SJohn Snow[EXCEPTIONS]
62