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>
This commit is contained in:
parent
205d7219f3
commit
0d52c19a59
@ -62,8 +62,6 @@ console_scripts =
|
|||||||
[flake8]
|
[flake8]
|
||||||
extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
|
extend-ignore = E722 # Prefer pylint's bare-except checks to flake8's
|
||||||
exclude = __pycache__,
|
exclude = __pycache__,
|
||||||
.venv,
|
|
||||||
.tox,
|
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
strict = True
|
strict = True
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
python3 -m flake8
|
python3 -m flake8 qemu/
|
||||||
|
Loading…
Reference in New Issue
Block a user