Skip to content

Commit

Permalink
Better filter of regional schemas (#3625)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored Aug 27, 2024
1 parent d9dd49e commit e3d10ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/release/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3d10ae

Please sign in to comment.