diff options
author | John Snow <jsnow@redhat.com> | 2020-05-28 18:21:29 -0400 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-05-31 18:25:30 +0200 |
commit | 8dfac2edb2146d87b25543c70e25723f3d4dbd60 (patch) | |
tree | b5906c7db9efff8a51790e2fb2fe1d2f9b11e8d0 /python/qemu/.flake8 | |
parent | 9b8ccd6d5b81f10436764bf7e334e087f3918d12 (diff) | |
download | qemu-8dfac2edb2146d87b25543c70e25723f3d4dbd60.zip qemu-8dfac2edb2146d87b25543c70e25723f3d4dbd60.tar.gz qemu-8dfac2edb2146d87b25543c70e25723f3d4dbd60.tar.bz2 |
python/qemu: delint; add flake8 config
Mostly, ignore the "no bare except" rule, because flake8 is not
contextual and cannot determine if we re-raise. Pylint can, though, so
always prefer pylint for that.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200528222129.23826-5-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/.flake8')
-rw-r--r-- | python/qemu/.flake8 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qemu/.flake8 b/python/qemu/.flake8 new file mode 100644 index 0000000..45d8146 --- /dev/null +++ b/python/qemu/.flake8 @@ -0,0 +1,2 @@ +[flake8] +extend-ignore = E722 # Pylint handles this, but smarter.
\ No newline at end of file |