Skip to content

Commit e0f3490

Browse files
committed
Fix warning
1 parent 77b44fc commit e0f3490

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/griffelib/src/griffe/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,11 @@
603603

604604
__all__ += __cli_all__
605605

606+
try:
607+
from griffecli import DEFAULT_LOG_LEVEL, check, dump, get_parser, main
608+
except ImportError:
609+
pass
610+
606611
def __getattr__(attr: str) -> object:
607612
if attr in __cli_all__:
608613
raise ImportError(f'Install `griffecli` to use {"griffe." + attr!r}')

0 commit comments

Comments
 (0)