xref: /openbmc/qemu/scripts/qapi/pylintrc (revision 812b31d3)
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           ch,
47
48[VARIABLES]
49
50[STRING]
51
52[SPELLING]
53
54[FORMAT]
55
56[SIMILARITIES]
57
58# Ignore import statements themselves when computing similarities.
59ignore-imports=yes
60
61[TYPECHECK]
62
63[CLASSES]
64
65[IMPORTS]
66
67[DESIGN]
68
69[EXCEPTIONS]
70