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