xref: /openbmc/qemu/scripts/qapi/pylintrc (revision 9c2a7b17)
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                source.py,
11                types.py,
12                visit.py,
13
14
15[MESSAGES CONTROL]
16
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".
26disable=fixme,
27        missing-docstring,
28        too-many-arguments,
29        too-many-branches,
30        too-many-statements,
31        too-many-instance-attributes,
32
33[REPORTS]
34
35[REFACTORING]
36
37[MISCELLANEOUS]
38
39[LOGGING]
40
41[BASIC]
42
43# Good variable names which should always be accepted, separated by a comma.
44good-names=i,
45           j,
46           k,
47           ex,
48           Run,
49           _
50
51[VARIABLES]
52
53[STRING]
54
55[SPELLING]
56
57[FORMAT]
58
59[SIMILARITIES]
60
61# Ignore import statements themselves when computing similarities.
62ignore-imports=yes
63
64[TYPECHECK]
65
66[CLASSES]
67
68[IMPORTS]
69
70[DESIGN]
71
72[EXCEPTIONS]
73