Skip to content

fix: bom removal from profile - #139

Open
g-pechorin wants to merge 3 commits into
mainfrom
bug.bom-removal
Open

g-pechorin wants to merge 3 commits into
mainfrom
bug.bom-removal

Conversation

@g-pechorin

Copy link
Copy Markdown
Contributor
♻️ Refactor
🦋 Bug Fix
⚡️ Optimization

PR Description

Removes the "byte order marker" from scan-reports after they're created.
This is a unicode character that appears in a lot of the .csv files but isn't drawn by excel, causes mismatches in carrot-mapper and ultimately ... seems to just break things for us.

Related Issues or other material

Related #
Closes #136

Screenshots, example outputs/behaviour etc.

✅ Added/updated tests?

  • This PR contains relevant tests / Or doesn't need to per the below explanation

[optional] What gif best describes this PR or how it makes you feel?

alt_text

@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissBranchBrPartCoverMissing
nuh_helper/date_shift
   __init__.py278181061689%149->158, 167, 255->253, 257->251, 376->390, 400->415, 402, 552, 578, 601, 614, 622–629, 665, 687, 691, 697
   _excel.py942256771%27->26, 34, 124–137, 174, 207->213, 220–231
   _parse.py30516285%31–40
nuh_helper/profile
   __init__.py188264298%181->184, 256–257
TOTAL610472462789% 

Tests Skipped Failures Errors Time
96 0 💤 0 ❌ 0 🔥 19.089s ⏱️

@g-pechorin
g-pechorin marked this pull request as ready for review September 16, 2026 11:58
@g-pechorin
g-pechorin requested a review from AndyRae as a code owner September 16, 2026 11:58
@g-pechorin g-pechorin self-assigned this Sep 16, 2026
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.

profile reports have a BOM on some pages

2 participants