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