[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
- [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, 2020/05/13
- [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 <=
- [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