diff --git a/generators/app/templates/common/pyproject.toml b/generators/app/templates/common/pyproject.toml index 6a8aff4..b25c9d6 100644 --- a/generators/app/templates/common/pyproject.toml +++ b/generators/app/templates/common/pyproject.toml @@ -90,6 +90,10 @@ ban-relative-imports = "all" [tool.ruff.flake8-type-checking] strict = true +runtime-evaluated-base-classes = ["pydantic.BaseModel"] +# Pydantic needs to be able to evaluate types at runtime +# see https://pypi.org/project/flake8-type-checking/ for flake8-type-checking documentation +# see https://beta.ruff.rs/docs/settings/#flake8-type-checking-runtime-evaluated-base-classes for ruff documentation [tool.ruff.per-file-ignores] # Allow missing docstrings for tests diff --git a/package-lock.json b/package-lock.json index e7196d6..3275369 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "generator-sicarator", - "version": "0.1.0", + "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "generator-sicarator", - "version": "0.1.0", - "license": "MIT", + "version": "1.0.0", + "license": "Apache-2.0", "dependencies": { "chalk": "^2.1.0", "slugify": "^1.6.6",