Skip to content

Commit d02599a

Browse files
committed
flake-8 allow use of assertRaises(Exception)
1 parent a11483e commit d02599a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.flake8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ show-source = True
55
ignore =
66
# ignore `self`, `cls` markers of flake8-annotations>=2.0
77
ANN101,ANN102
8+
# allow use of `assertRaises(Exception)`
9+
B017
810

911
exclude = .git,__pycache__,_OLD,_TEST,build,dist,.tox,*_cache,.eggs,.venv,venv
1012
setup.py
@@ -15,4 +17,3 @@ max-complexity = 5
1517

1618
# allow up to 119 characters as this is the width of GitHub code review
1719
max-line-length = 120
18-

0 commit comments

Comments
 (0)