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