aws-cloudformation / cfn-lint

CloudFormation Linter
MIT No Attribution
2.4k stars 577 forks source link

Update mappings to support transforms at the root level #3432

Closed kddejong closed 5 days ago

kddejong commented 5 days ago

Issue #, if available: fix #3430

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 92.95775% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.31%. Comparing base (1a45182) to head (0ababfc).

Files Patch % Lines
src/cfnlint/context/_mappings.py 95.31% 3 Missing :warning:
src/cfnlint/jsonschema/_resolvers_cfn.py 50.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3432 +/- ## ========================================== - Coverage 93.36% 93.31% -0.06% ========================================== Files 323 324 +1 Lines 11031 11049 +18 Branches 2309 2315 +6 ========================================== + Hits 10299 10310 +11 - Misses 408 413 +5 - Partials 324 326 +2 ``` | [Flag](https://app.codecov.io/gh/aws-cloudformation/cfn-lint/pull/3432/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws-cloudformation) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/aws-cloudformation/cfn-lint/pull/3432/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws-cloudformation) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aws-cloudformation#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.