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