]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/pylintrc
build: Remove --enable-gprof
[mirror_qemu.git] / tests / qemu-iotests / pylintrc
CommitLineData
576dc22b
JS
1[MESSAGES CONTROL]
2
3# Disable the message, report, category or checker with the given id(s). You
4# can either give multiple identifiers separated by comma (,) or put this
5# option multiple times (only on the command line, not in the configuration
6# file where it should appear only once). You can also use "--disable=all" to
7# disable everything first and then reenable specific checks. For example, if
8# you want to run only the similarities checker, you can use "--disable=all
9# --enable=similarities". If you want to run only the classes checker, but have
10# no Warning level messages displayed, use "--disable=all --enable=classes
11# --disable=W".
12disable=invalid-name,
13 no-else-return,
14 too-few-public-methods,
15 too-many-arguments,
16 too-many-branches,
17 too-many-lines,
18 too-many-locals,
19 too-many-public-methods,
eeb7314c
KW
20 # pylint warns about Optional[] etc. as unsubscriptable in 3.9
21 unsubscriptable-object,
96420a30 22 # pylint's static analysis causes false positives for file_path();
3765315d
JS
23 # If we really care to make it statically knowable, we'll use mypy.
24 unbalanced-tuple-unpacking,
ac4e14f5
EGE
25 # Sometimes we need to disable a newly introduced pylint warning.
26 # Doing so should not produce a warning in older versions of pylint.
27 bad-option-value,
576dc22b 28 # These are temporary, and should be removed:
576dc22b 29 missing-docstring,
d0bc4123 30 too-many-return-statements,
3765315d
JS
31 too-many-statements,
32 consider-using-f-string,
b031e9a5 33
95a556e7
JS
34
35[REPORTS]
36
37# Activate the evaluation score.
38score=no
39
40
41[MISCELLANEOUS]
42
43# List of note tags to take in consideration, separated by a comma.
44# TODO notes are fine, but FIXMEs or XXXs should probably just be
45# fixed (in tests, at least).
46notes=FIXME,
47 XXX,
48
49
b031e9a5
JS
50[FORMAT]
51
52# Maximum number of characters on a single line.
53max-line-length=79
dd3e97df
VSO
54
55
56[SIMILARITIES]
57
58min-similarity-lines=6