xref: /openbmc/qemu/scripts/qapi/pylintrc (revision e6522d88)
1[MASTER]
2
3# Add files or directories matching the regex patterns to the ignore list.
4# The regex matches against base names, not paths.
5ignore-patterns=common.py,
6                error.py,
7                expr.py,
8                gen.py,
9                parser.py,
10                schema.py,
11                source.py,
12                types.py,
13                visit.py,
14
15
16[MESSAGES CONTROL]
17
18# Disable the message, report, category or checker with the given id(s). You
19# can either give multiple identifiers separated by comma (,) or put this
20# option multiple times (only on the command line, not in the configuration
21# file where it should appear only once). You can also use "--disable=all" to
22# disable everything first and then reenable specific checks. For example, if
23# you want to run only the similarities checker, you can use "--disable=all
24# --enable=similarities". If you want to run only the classes checker, but have
25# no Warning level messages displayed, use "--disable=all --enable=classes
26# --disable=W".
27disable=fixme,
28        missing-docstring,
29        too-many-arguments,
30        too-many-branches,
31        too-many-statements,
32        too-many-instance-attributes,
33
34[REPORTS]
35
36[REFACTORING]
37
38[MISCELLANEOUS]
39
40[LOGGING]
41
42[BASIC]
43
44# Good variable names which should always be accepted, separated by a comma.
45good-names=i,
46           j,
47           k,
48           ex,
49           Run,
50           _
51
52[VARIABLES]
53
54[STRING]
55
56[SPELLING]
57
58[FORMAT]
59
60[SIMILARITIES]
61
62# Ignore import statements themselves when computing similarities.
63ignore-imports=yes
64
65[TYPECHECK]
66
67[CLASSES]
68
69[IMPORTS]
70
71[DESIGN]
72
73[EXCEPTIONS]
74