Skip to content

Commit 4c4a749

Browse files
committed
ignore these lines from test coverage
1 parent d742728 commit 4c4a749

File tree

1 file changed

+2
-2
lines changed
  • pydantic_ai_slim/pydantic_ai

1 file changed

+2
-2
lines changed

pydantic_ai_slim/pydantic_ai/_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ def click_cli(
204204

205205
return result if result is not None else 0
206206
except click.ClickException as e:
207-
e.show()
208-
return 1
207+
e.show() # pragma: no cover
208+
return 1 # pragma: no cover
209209

210210

211211
def _cli_impl( # noqa: C901

0 commit comments

Comments
 (0)