We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381b4b6 commit ce281a4Copy full SHA for ce281a4
tests/cli/test_code_scanner.py
@@ -3,7 +3,7 @@
3
from click import ClickException
4
from git import InvalidGitRepositoryError
5
6
-from cli.code_scanner import _handle_exception # noqa
+from cli.code_scanner import _handle_exception # noqa
7
from cli.exceptions import custom_exceptions
8
9
@@ -19,7 +19,8 @@ def ctx():
19
(custom_exceptions.ZipTooLargeError(1000), True),
20
(InvalidGitRepositoryError(), None),
21
])
22
-def test_handle_exception_soft_fail(ctx: click.Context, exception: custom_exceptions.CycodeError, expected_soft_fail: bool):
+def test_handle_exception_soft_fail(
23
+ ctx: click.Context, exception: custom_exceptions.CycodeError, expected_soft_fail: bool):
24
with ctx:
25
_handle_exception(ctx, exception)
26
0 commit comments