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 c7d6095 commit 346c4b7Copy full SHA for 346c4b7
src/itables/config.py
@@ -70,8 +70,10 @@ def get_config_file(path: Path = Path.cwd()) -> Optional[Path]:
70
71
72
def load_config_file(config_file: Path) -> ITableOptions:
73
- if tomllib is None:
74
- raise ImportError(f"Either tomllib or tomli is required to load {config_file}")
+ raise ImportError(
+ f"Either tomllib or tomli is required to load {config_file}. "
75
+ "Install with 'pip install itables[config]' to enable TOML config support."
76
+ )
77
78
with open(config_file, "rb") as fp:
79
try:
0 commit comments