[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 05/10] iotests: add pylintrc file
From: |
John Snow |
Subject: |
[PATCH v7 05/10] iotests: add pylintrc file |
Date: |
Wed, 4 Mar 2020 16:38:13 -0500 |
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 <address@hidden>
---
tests/qemu-iotests/pylintrc | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 tests/qemu-iotests/pylintrc
diff --git a/tests/qemu-iotests/pylintrc b/tests/qemu-iotests/pylintrc
new file mode 100644
index 0000000000..8720b6a0de
--- /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-many-lines,
+ too-few-public-methods,
+ too-many-arguments,
+ too-many-locals,
+ too-many-branches,
+ too-many-public-methods,
+ # These are temporary, and should be removed:
+ missing-docstring,
+ line-too-long,
--
2.21.1
- [PATCH v7 00/10] iotests: use python logging, John Snow, 2020/03/04
- [PATCH v7 02/10] iotests: don't use 'format' for drive_add, John Snow, 2020/03/04
- [PATCH v7 04/10] iotests: replace mutable list default args, John Snow, 2020/03/04
- [PATCH v7 01/10] iotests: do a light delinting, John Snow, 2020/03/04
- [PATCH v7 03/10] iotests: ignore import warnings from pylint, John Snow, 2020/03/04
- [PATCH v7 08/10] iotest 258: use script_main, John Snow, 2020/03/04
- [PATCH v7 05/10] iotests: add pylintrc file,
John Snow <=
- [PATCH v7 07/10] iotests: add script_initialize, John Snow, 2020/03/04
- [PATCH v7 09/10] iotests: Mark verify functions as private, John Snow, 2020/03/04
- [PATCH v7 10/10] iotests: use python logging for iotests.log(), John Snow, 2020/03/04
- [PATCH v7 06/10] iotests: limit line length to 79 chars, John Snow, 2020/03/04