Skip to content

fix: detect-absolute-paths now accepts file patterns to ignore#154

Open
kelly-sovacool wants to merge 7 commits intomainfrom
tweak-abs-paths
Open

fix: detect-absolute-paths now accepts file patterns to ignore#154
kelly-sovacool wants to merge 7 commits intomainfrom
tweak-abs-paths

Conversation

@kelly-sovacool
Copy link
Member

Changes

It will skip over files passed to --ignore-paths or listed in --ignore-paths-file.
This is helpful for Dockerfiles, test files, etc. where all absolute paths are false positives.

Issues

NA

PR Checklist

(Strikethrough any points that are not applicable.)

  • This comment contains a description of changes with justifications, with any relevant issues linked.
  • Write unit tests for any new features, bug fixes, or other code changes.
  • Update docs if there are any API changes.
  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Guidelines: https://keepachangelog.com/en/1.1.0/

@kelly-sovacool kelly-sovacool self-assigned this Mar 6, 2026
@kelly-sovacool kelly-sovacool added this to the 2026-03 milestone Mar 6, 2026
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

❌ Patch coverage is 78.33333% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.84%. Comparing base (4870bac) to head (2190c75).

Files with missing lines Patch % Lines
src/ccbr_tools/GSEA/ncbr_huse.py 26.66% 11 Missing ⚠️
src/ccbr_tools/hooks/detect_absolute_paths.py 95.55% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
+ Coverage   72.36%   72.84%   +0.47%     
==========================================
  Files          27       27              
  Lines        1842     1889      +47     
==========================================
+ Hits         1333     1376      +43     
- Misses        509      513       +4     

☔ 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.

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.

1 participant