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

More typing and default version for hatch

parent 0328cc5e29b2
No related branches found
Tags 18.0.2.0.2
1 merge request!51More typing and default version for hatch
......@@ -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 = "18.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