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