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