summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorJohn Snow2021-06-29 23:43:18 +0200
committerJohn Snow2021-07-01 03:54:04 +0200
commit0d52c19a599a45c800fb58f3ad359f6472a18e3f (patch)
treeb0d50dc1f4a908ca22850aeaf4641bbca580a95f /python/tests
parentpython: Fix .PHONY Make specifiers (diff)
downloadqemu-0d52c19a599a45c800fb58f3ad359f6472a18e3f.tar.gz
qemu-0d52c19a599a45c800fb58f3ad359f6472a18e3f.tar.xz
qemu-0d52c19a599a45c800fb58f3ad359f6472a18e3f.zip
python: only check qemu/ subdir with flake8
flake8 is a little eager to check everything it can. Limit it to checking inside the qemu namespace directory only. Update setup.cfg now that the exclude patterns are no longer necessary. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-id: 20210629214323.1329806-11-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/tests')
-rwxr-xr-xpython/tests/flake8.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/flake8.sh b/python/tests/flake8.sh
index 51e0788462..1cd7d40fad 100755
--- a/python/tests/flake8.sh
+++ b/python/tests/flake8.sh
@@ -1,2 +1,2 @@
#!/bin/sh -e
-python3 -m flake8
+python3 -m flake8 qemu/