xref: /openbmc/qemu/scripts/qapi/pylintrc (revision dec44d3d659446c333c52e0c95c996b6881f94d6)
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                visit.py,
10
11
12[MESSAGES CONTROL]
13
14# Disable the message, report, category or checker with the given id(s). You
15# can either give multiple identifiers separated by comma (,) or put this
16# option multiple times (only on the command line, not in the configuration
17# file where it should appear only once). You can also use "--disable=all" to
18# disable everything first and then reenable specific checks. For example, if
19# you want to run only the similarities checker, you can use "--disable=all
20# --enable=similarities". If you want to run only the classes checker, but have
21# no Warning level messages displayed, use "--disable=all --enable=classes
22# --disable=W".
23disable=fixme,
24        missing-docstring,
25        too-many-arguments,
26        too-many-branches,
27        too-many-statements,
28        too-many-instance-attributes,
29
30[REPORTS]
31
32[REFACTORING]
33
34[MISCELLANEOUS]
35
36[LOGGING]
37
38[BASIC]
39
40# Good variable names which should always be accepted, separated by a comma.
41good-names=i,
42           j,
43           k,
44           ex,
45           Run,
46           _,
47           fp,  # fp = open(...)
48           fd,  # fd = os.open(...)
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