From d9c32468d34b1bb69e748af03e0dd6ffa4424116 Mon Sep 17 00:00:00 2001 From: Saltaferis Dimitrios Date: Thu, 6 Aug 2026 12:14:33 +0000 Subject: [PATCH 1/3] chore(backend): drop the stale no-untyped-def mypy override for core.node.base The module is already fully annotated, so the per-module suppression only hid future regressions. Removing it restores untyped-def checking on a foundational base class with no source change required. Co-Authored-By: Claude Opus 5 --- changelog/mypy-untyped-def-core-node-base.housekeeping.md | 1 + pyproject.toml | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 changelog/mypy-untyped-def-core-node-base.housekeeping.md diff --git a/changelog/mypy-untyped-def-core-node-base.housekeeping.md b/changelog/mypy-untyped-def-core-node-base.housekeeping.md new file mode 100644 index 00000000000..e01a9f29fa3 --- /dev/null +++ b/changelog/mypy-untyped-def-core-node-base.housekeeping.md @@ -0,0 +1 @@ +Removed the stale `no-untyped-def` mypy suppression on `infrahub.core.node.base`, restoring untyped-def checking on that module. diff --git a/pyproject.toml b/pyproject.toml index f2d06217cc2..05f8faa837b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -252,12 +252,6 @@ disable_error_code = [ "var-annotated", ] -[[tool.mypy.overrides]] -module = "infrahub.core.node.base" -disable_error_code = [ - "no-untyped-def", -] - [[tool.mypy.overrides]] module = "infrahub.core.query" disable_error_code = [ From 2ac2308bb888028101df4ce87febd96a6412132f Mon Sep 17 00:00:00 2001 From: Saltaferis Dimitrios Date: Thu, 6 Aug 2026 14:02:11 +0000 Subject: [PATCH 2/3] chore(changelog): add the towncrier orphan prefix to the fragment filename towncrier is configured with orphan_prefix = "+", so a fragment without it is read as an issue reference and rendered with a bogus link instead of as an orphan entry. Co-Authored-By: Claude Opus 5 --- ...eeping.md => +mypy-untyped-def-core-node-base.housekeeping.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/{mypy-untyped-def-core-node-base.housekeeping.md => +mypy-untyped-def-core-node-base.housekeeping.md} (100%) diff --git a/changelog/mypy-untyped-def-core-node-base.housekeeping.md b/changelog/+mypy-untyped-def-core-node-base.housekeeping.md similarity index 100% rename from changelog/mypy-untyped-def-core-node-base.housekeeping.md rename to changelog/+mypy-untyped-def-core-node-base.housekeeping.md From 274c66b11a7de8bd573c5080bab4df7f3df8ffb5 Mon Sep 17 00:00:00 2001 From: Saltaferis Dimitrios Date: Thu, 6 Aug 2026 18:02:09 +0000 Subject: [PATCH 3/3] chore(changelog): drop the fragment for the mypy override removal Per review: the change touches no source code, so a user-facing changelog entry is noise. Co-Authored-By: Claude Opus 5 --- changelog/+mypy-untyped-def-core-node-base.housekeeping.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 changelog/+mypy-untyped-def-core-node-base.housekeeping.md diff --git a/changelog/+mypy-untyped-def-core-node-base.housekeeping.md b/changelog/+mypy-untyped-def-core-node-base.housekeeping.md deleted file mode 100644 index e01a9f29fa3..00000000000 --- a/changelog/+mypy-untyped-def-core-node-base.housekeeping.md +++ /dev/null @@ -1 +0,0 @@ -Removed the stale `no-untyped-def` mypy suppression on `infrahub.core.node.base`, restoring untyped-def checking on that module.