Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hatch_odoo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_hatch_odoo_config(root: str) -> dict:
def iter_addons_dirs(root: str, config: dict) -> Iterator[Path]:
addons_dirs = config.get("addons_dirs")
if not addons_dirs:
raise RuntimeError("missing tools.hatch-odoo.addons_dir in pyproject.toml")
raise RuntimeError("missing tool.hatch-odoo.addons_dir in pyproject.toml")
for addons_dir in [Path(root) / d for d in addons_dirs]:
if not addons_dir.is_dir():
continue
Expand Down
2 changes: 1 addition & 1 deletion src/hatch_odoo/metadata_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def update(self, metadata: dict) -> None:
"'dependencies' may not be listed in the 'project' table when using "
"hatch-odoo to populate dependencies from Odoo addons manifests. "
"If you need to add dependencies that are not in Odoo addons "
"manifests, please use the 'tools.hatch-odoo.dependencies' key."
"manifests, please use the 'tool.hatch-odoo.dependencies' key."
)
if "dependencies" not in metadata.get("dynamic", []):
raise ValueError(
Expand Down
Loading