Skip to content

YAML safe load and assert removing#808

Merged
babenek merged 5 commits intoSamsung:mainfrom
babenek:auxiliary
Jan 21, 2026
Merged

YAML safe load and assert removing#808
babenek merged 5 commits intoSamsung:mainfrom
babenek:auxiliary

Conversation

@babenek
Copy link
Contributor

@babenek babenek commented Jan 18, 2026

Description

Please include a summary of the change and which is fixed.

  • Use YAML safe load
  • Removed asserts in code
  • Fix PNG iTXt field extraction

How has this been tested?

Please describe the tests that you ran to verify your changes.

  • UnitTest
  • Benchmark

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2026

Codecov Report

❌ Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.29%. Comparing base (b84e754) to head (ab00854).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
credsweeper/scanner/scan_type/multi_pattern.py 0.00% 1 Missing and 1 partial ⚠️
credsweeper/scanner/scan_type/pem_key_pattern.py 0.00% 1 Missing and 1 partial ⚠️
credsweeper/scanner/scan_type/single_pattern.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #808      +/-   ##
==========================================
- Coverage   92.31%   92.29%   -0.03%     
==========================================
  Files         144      145       +1     
  Lines        5833     5890      +57     
  Branches      946      960      +14     
==========================================
+ Hits         5385     5436      +51     
- Misses        289      293       +4     
- Partials      159      161       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@babenek babenek marked this pull request as ready for review January 18, 2026 11:55
@babenek babenek requested a review from a team as a code owner January 18, 2026 11:55
@babenek babenek merged commit e30c3a7 into Samsung:main Jan 21, 2026
23 checks passed
@babenek babenek deleted the auxiliary branch January 21, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants