qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH RFC WIP 6/6] WIP: delint test files


From: John Snow
Subject: [PATCH RFC WIP 6/6] WIP: delint test files
Date: Wed, 13 May 2020 17:41:30 -0400

Signed-off-by: John Snow <address@hidden>
---
 tests/qemu-iotests/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/qemu-iotests/Makefile b/tests/qemu-iotests/Makefile
index 77da9fd96d..fd85eb5bae 100644
--- a/tests/qemu-iotests/Makefile
+++ b/tests/qemu-iotests/Makefile
@@ -1,4 +1,6 @@
 PYMODULES = $(wildcard *.py)
+PYTESTS := $(shell grep -rl '^\#!/usr/bin/env python3' *)
+PYTESTS := $(filter-out $(PYMODULES), $(PYTESTS))
 
 CLEANFILES= *.out.bad *.notrun check.log check.time*
 
@@ -10,3 +12,4 @@ clean:
 
 delint:
        pylint $(PYMODULES)
+       pylint --disable=R,C,W $(PYTESTS)
-- 
2.21.1




reply via email to

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