qapi/common.py: check with pylint
[qemu/armbru.git] / scripts / qapi / pylintrc
blob507f15537abfb02ba447cdccdbef867d7f274d1a
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=error.py,
6                 expr.py,
7                 gen.py,
8                 parser.py,
9                 schema.py,
10                 source.py,
11                 types.py,
12                 visit.py,
15 [MESSAGES CONTROL]
17 # Disable the message, report, category or checker with the given id(s). You
18 # can either give multiple identifiers separated by comma (,) or put this
19 # option multiple times (only on the command line, not in the configuration
20 # file where it should appear only once). You can also use "--disable=all" to
21 # disable everything first and then reenable specific checks. For example, if
22 # you want to run only the similarities checker, you can use "--disable=all
23 # --enable=similarities". If you want to run only the classes checker, but have
24 # no Warning level messages displayed, use "--disable=all --enable=classes
25 # --disable=W".
26 disable=fixme,
27         missing-docstring,
28         too-many-arguments,
29         too-many-branches,
30         too-many-statements,
31         too-many-instance-attributes,
33 [REPORTS]
35 [REFACTORING]
37 [MISCELLANEOUS]
39 [LOGGING]
41 [BASIC]
43 # Good variable names which should always be accepted, separated by a comma.
44 good-names=i,
45            j,
46            k,
47            ex,
48            Run,
49            _
51 [VARIABLES]
53 [STRING]
55 [SPELLING]
57 [FORMAT]
59 [SIMILARITIES]
61 # Ignore import statements themselves when computing similarities.
62 ignore-imports=yes
64 [TYPECHECK]
66 [CLASSES]
68 [IMPORTS]
70 [DESIGN]
72 [EXCEPTIONS]