We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7ff39 commit 9e7f095Copy full SHA for 9e7f095
django_typer/apps.py
@@ -72,11 +72,11 @@ def check_traceback_config(app_configs, **kwargs) -> t.List[CheckMessage]:
72
warnings: t.List[CheckMessage] = []
73
tb_cfg = traceback_config()
74
if isinstance(tb_cfg, dict):
75
- if rich:
+ if rich and traceback:
76
expected = {
77
"no_install",
78
"short",
79
- *inspect.signature(rich.traceback.install).parameters.keys(),
+ *inspect.signature(traceback.install).parameters.keys(),
80
}
81
unexpected = set(tb_cfg.keys()) - expected
82
if unexpected:
0 commit comments