From e3d10aea6d941a0230ea145944eeb064dbd8f4d4 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Tue, 27 Aug 2024 11:09:14 -0700 Subject: [PATCH] Better filter of regional schemas (#3625) --- scripts/release/generator.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/release/generator.py b/scripts/release/generator.py index 987441a6ae..3f7c5392b9 100755 --- a/scripts/release/generator.py +++ b/scripts/release/generator.py @@ -97,10 +97,7 @@ def _build_patch(path, patch): ) for rule in rules: - if rule.__class__.__base__ == ( - "cfnlint.rules.jsonschema." - "CfnLintJsonSchemaRegional.CfnLintJsonSchemaRegional" - ): + if rule.__class__.__base__.__name__ == "CfnLintJsonSchemaRegional": continue if not rule.id or rule.schema == {}: continue