aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/pylintrc
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-03-30 20:00:05 -0400
committerMax Reitz <mreitz@redhat.com>2020-05-05 13:17:36 +0200
commit576dc22be11d3cd95eec0e75ec5603cde671a370 (patch)
treed87b57d053571fc431eb2d43016fd88f32177b83 /tests/qemu-iotests/pylintrc
parent4eabe0515ad7947da566fa52f9bd29e6fc1e6dcc (diff)
downloadqemu-576dc22be11d3cd95eec0e75ec5603cde671a370.zip
qemu-576dc22be11d3cd95eec0e75ec5603cde671a370.tar.gz
qemu-576dc22be11d3cd95eec0e75ec5603cde671a370.tar.bz2
iotests: add pylintrc file
This allows others to get repeatable results with pylint. If you run `pylint iotests.py`, you should see a 100% pass. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200331000014.11581-6-jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/pylintrc')
-rw-r--r--tests/qemu-iotests/pylintrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/qemu-iotests/pylintrc b/tests/qemu-iotests/pylintrc
new file mode 100644
index 0000000..daec2c4
--- /dev/null
+++ b/tests/qemu-iotests/pylintrc
@@ -0,0 +1,22 @@
+[MESSAGES CONTROL]
+
+# Disable the message, report, category or checker with the given id(s). You
+# can either give multiple identifiers separated by comma (,) or put this
+# option multiple times (only on the command line, not in the configuration
+# file where it should appear only once). You can also use "--disable=all" to
+# disable everything first and then reenable specific checks. For example, if
+# you want to run only the similarities checker, you can use "--disable=all
+# --enable=similarities". If you want to run only the classes checker, but have
+# no Warning level messages displayed, use "--disable=all --enable=classes
+# --disable=W".
+disable=invalid-name,
+ no-else-return,
+ too-few-public-methods,
+ too-many-arguments,
+ too-many-branches,
+ too-many-lines,
+ too-many-locals,
+ too-many-public-methods,
+ # These are temporary, and should be removed:
+ line-too-long,
+ missing-docstring,