From 06dd69f74705ca6ddbdd5e104e954c0b3e413e95 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Thu, 28 Jan 2021 20:36:19 +0000 Subject: [PATCH] Ignore new B902 warnings from flake8 These warnings are worth addressing eventually, but they shouldn't be blockers for now. The warnings are: autospec/abireport.py:59:1: B902 blind except Exception: statement autospec/abireport.py:73:1: B902 blind except Exception: statement autospec/abireport.py:128:1: B902 blind except Exception: statement autospec/abireport.py:165:1: B902 blind except Exception: statement autospec/abireport.py:191:1: B902 blind except Exception: statement autospec/abireport.py:237:1: B902 blind except Exception: statement autospec/abireport.py:262:1: B902 blind except Exception: statement autospec/abireport.py:273:1: B902 blind except Exception: statement autospec/autospec.py:237:1: B902 blind except Exception: statement autospec/autospec.py:307:1: B902 blind except Exception: statement autospec/build.py:177:1: B902 blind except Exception: statement autospec/buildreq.py:563:1: B902 blind except Exception: statement autospec/buildreq.py:600:1: B902 blind except Exception: statement autospec/buildreq.py:689:1: B902 blind except Exception: statement autospec/buildreq.py:713:1: B902 blind except Exception: statement autospec/buildreq.py:735:1: B902 blind except Exception: statement autospec/commitmessage.py:51:1: B902 blind except Exception: statement autospec/commitmessage.py:293:1: B902 blind except Exception: statement autospec/config.py:475:1: B902 blind except Exception: statement autospec/config.py:821:1: B902 blind except Exception: statement autospec/pkg_integrity.py:551:1: B902 blind except Exception: statement autospec/pkg_integrity.py:669:1: B902 blind except Exception: statement autospec/pkg_integrity.py:765:1: B902 blind except Exception: statement Signed-off-by: Patrick McCarty --- Makefile | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 12880ed..888e54e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ check: autospec/*.py - @flake8 --ignore=D100,I201 $^ + @flake8 --ignore=B902,D100,I201 $^ test_download: PYTHONPATH=${CURDIR}/autospec python3 tests/test_download.py diff --git a/setup.cfg b/setup.cfg index f9a226f..ce04bf9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,4 +9,4 @@ omit = tests/*,*site-packages*,*site.py [flake8] max-line-length = 199 -ignore = E722, W503 +ignore = B902, E722, W503