ci: add strict-no-cover to detect unnecessary coverage pragmas (#1897)

This commit is contained in:
Max Isbey 2026-01-23 20:00:20 +00:00 • committed by GitHub
commit a7ddfdae07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 355 additions and 358 deletions

View file

@ -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:

View file

@ -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