cfn-lint icon indicating copy to clipboard operation
cfn-lint copied to clipboard

basic Constants validation

Open atennak1 opened this issue 2 months ago • 1 comments

Issue #, if available: N/A

Description of changes:
basic validation for Constants

  • LogicalID format checks
  • Transform check
  • Unused warning

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

atennak1 avatar Nov 11 '25 21:11 atennak1

Codecov Report

:x: Patch coverage is 98.66667% with 1 line in your changes missing coverage. Please review. :white_check_mark: Project coverage is 94.44%. Comparing base (bb84fc0) to head (499903e).

Files with missing lines Patch % Lines
src/cfnlint/rules/constants/Used.py 96.96% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4281      +/-   ##
==========================================
+ Coverage   94.43%   94.44%   +0.01%     
==========================================
  Files         413      416       +3     
  Lines       13953    14028      +75     
  Branches     2769     2781      +12     
==========================================
+ Hits        13176    13249      +73     
  Misses        433      433              
- Partials      344      346       +2     
Flag Coverage Δ
unittests 94.43% <98.66%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 11 '25 22:11 codecov[bot]