Skip to content
Snippets Groups Projects
Commit 2ef1884b authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

More typing and default version for hatch

parent a29e2009
No related branches found
No related tags found
1 merge request!62Backport 18.0 changes
......@@ -19,7 +19,8 @@
##############################################################################
import uuid
from typing import Final
from odoo import api, models # type: ignore[import-untyped]
# Xrefs are stored within "ir.model.data" with this module name.
......@@ -22,8 +23,8 @@
from odoo import api, models # type: ignore[import-untyped]
# Xrefs are stored within "ir.model.data" with this module name.
_XREF_IMD_MODULE = "__converter__"
_XREF_IMD_MODULE: Final[str] = "__converter__"
class IrModelData(models.BaseModel):
......
......@@ -58,6 +58,7 @@
[tool.hatch.version]
source = "vcs"
fallback-version = "17.0.0.0.0"
[tool.ruff]
target-version = "py310"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment