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