]> git.proxmox.com Git - mirror_qemu.git/blame - scripts/qapi/pylintrc
qapi tpm: Elide redundant has_FOO in generated C
[mirror_qemu.git] / scripts / qapi / pylintrc
CommitLineData
e6522d88
JS
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.
d183e048 5ignore-patterns=schema.py,
e6522d88
JS
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,
1c009174 25 consider-using-f-string,
e6522d88
JS
26
27[REPORTS]
28
29[REFACTORING]
30
31[MISCELLANEOUS]
32
33[LOGGING]
34
35[BASIC]
36
90254ec4
JS
37# Good variable names regexes, separated by a comma. If names match any regex,
38# they will always be accepted.
39#
40# Suppress complaints about short names. PEP-8 is cool with them,
41# and so are we.
42good-names-rgxs=^[_a-z][_a-z0-9]?$
e6522d88
JS
43
44[VARIABLES]
45
46[STRING]
47
48[SPELLING]
49
50[FORMAT]
51
52[SIMILARITIES]
53
54# Ignore import statements themselves when computing similarities.
55ignore-imports=yes
56
57[TYPECHECK]
58
59[CLASSES]
60
61[IMPORTS]
62
63[DESIGN]
64
65[EXCEPTIONS]