[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RFC WIP 2/6] Makefile: add delint WIP
From: |
John Snow |
Subject: |
[PATCH RFC WIP 2/6] Makefile: add delint WIP |
Date: |
Wed, 13 May 2020 17:41:26 -0400 |
Signed-off-by: John Snow <address@hidden>
---
tests/qemu-iotests/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qemu-iotests/Makefile b/tests/qemu-iotests/Makefile
index 27380e60c1..7dbb7f0fff 100644
--- a/tests/qemu-iotests/Makefile
+++ b/tests/qemu-iotests/Makefile
@@ -1,3 +1,6 @@
+PYMODULES = $(wildcard *.py)
+
+KNOWN_GOOD = iotests.py
CLEANFILES= *.out.bad *.notrun check.log check.time*
@@ -7,3 +10,6 @@ default:
clean:
rm -f $(CLEANFILES)
+delint:
+ pylint $(KNOWN_GOOD)
+ pylint --disable=R,C,W $(filter-out $(KNOWN_GOOD), $(PYMODULES))
--
2.21.1
- [PATCH RFC WIP 0/6] iotests: delinting work-in-progress, John Snow, 2020/05/13
- [PATCH RFC WIP 2/6] Makefile: add delint WIP,
John Snow <=
- [PATCH RFC WIP 1/6] iotests: type hint wip, John Snow, 2020/05/13
- [PATCH RFC WIP 6/6] WIP: delint test files, John Snow, 2020/05/13
- [PATCH RFC WIP 4/6] qed.py: delint, John Snow, 2020/05/13
- [PATCH RFC WIP 3/6] nbd-fault-injector: delint, John Snow, 2020/05/13
- [PATCH RFC WIP 5/6] qcow2.py: delint, John Snow, 2020/05/13
- Re: [PATCH RFC WIP 0/6] iotests: delinting work-in-progress, no-reply, 2020/05/13