qemu-block
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]