Skip to content

Commit 71c980b

Browse files
committed
Ignore defensive check from coverage
1 parent b306a01 commit 71c980b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fastapi_cli/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _read_pyproject_toml(cls) -> Dict[str, Any]:
2525
except ImportError:
2626
try:
2727
import tomli as tomllib # type: ignore[no-redef, import-not-found, unused-ignore]
28-
except ImportError:
28+
except ImportError: # pragma: no cover
2929
logger.debug("tomli not available, skipping pyproject.toml")
3030
return {}
3131

0 commit comments

Comments
 (0)