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