From 32aa9c70ff300cc2e0b14bb9ed849e70b46195bc Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Mon, 23 Oct 2017 08:51:04 -0700 Subject: [PATCH] Ignore bare excepts with flake8 The previous ignore, import not at top of file (E402) was unneeded. Bare excepts are handy when we want to fail gracefully from any error. This is a script, not an imported library. Signed-off-by: Matthew Johnson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc79766..c0e8522 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ check: autospec/*.py - @flake8 --max-line-length=199 --ignore=E402 $^ + @flake8 --max-line-length=199 --ignore=E722 $^ test_pkg_integrity: PYTHONPATH=${CURDIR}/autospec python3 tests/test_pkg_integrity.py