Skip to content

Commit 06dd69f

Browse files
committed
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 <[email protected]>
1 parent 8ea14de commit 06dd69f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
check: autospec/*.py
2-
@flake8 --ignore=D100,I201 $^
2+
@flake8 --ignore=B902,D100,I201 $^
33

44
test_download:
55
PYTHONPATH=${CURDIR}/autospec python3 tests/test_download.py

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ omit = tests/*,*site-packages*,*site.py
99

1010
[flake8]
1111
max-line-length = 199
12-
ignore = E722, W503
12+
ignore = B902, E722, W503

0 commit comments

Comments
 (0)