ci: add strict-no-cover to detect unnecessary coverage pragmas (#1897)
This commit is contained in:
parent
3cfdea0e97
commit
a7ddfdae07
2 changed files with 355 additions and 358 deletions
|
|
@ -72,7 +72,7 @@ def update_claude_config(
|
|||
)
|
||||
|
||||
config_file = config_dir / "claude_desktop_config.json"
|
||||
if not config_file.exists(): # pragma: no cover
|
||||
if not config_file.exists(): # pragma: lax no cover
|
||||
try:
|
||||
config_file.write_text("{}")
|
||||
except Exception:
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ def _build_uv_command(
|
|||
|
||||
if with_packages:
|
||||
for pkg in with_packages:
|
||||
if pkg: # pragma: no cover
|
||||
if pkg: # pragma: no branch
|
||||
cmd.extend(["--with", pkg])
|
||||
|
||||
# Add mcp run command
|
||||
|
|
|
|||
Loading…
Reference in a new issue