fix flake8: follow-up prev
This commit is contained in:
@@ -41,7 +41,7 @@ _logger = get_logger(__name__)
|
|||||||
# Code *should not rely* on asserts being enabled. In particular, safety and security checks should
|
# Code *should not rely* on asserts being enabled. In particular, safety and security checks should
|
||||||
# always explicitly raise exceptions. However, this rule is mistakenly broken occasionally...
|
# always explicitly raise exceptions. However, this rule is mistakenly broken occasionally...
|
||||||
try:
|
try:
|
||||||
assert False
|
assert False # noqa: B011
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user