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