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