Skip to content

Conversation

@frgfm
Copy link
Owner

@frgfm frgfm commented Oct 23, 2025

This PR:

  • updates all build operations from pip to UV
  • switches from mypy to TY for typing checks
  • removes conda
  • clean up lint, format and typing errors

@frgfm frgfm added this to the 0.5.0 milestone Oct 23, 2025
@frgfm frgfm self-assigned this Oct 23, 2025
@frgfm frgfm added the type: improvement New feature or request label Oct 23, 2025
@github-actions github-actions bot added topic: docs Improvements or additions to documentation module: methods Related to torchcam.methods module: utils Related to torchcam.utils topic: build ext: scripts ext: demo topic: ci topic: style module: metrics labels Oct 23, 2025
@socket-security
Copy link

socket-security bot commented Oct 23, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpytest-cov@​4.1.0 ⏵ 6.2.1100100100100100
Addeduv-build@​0.9.5100100100100100
Addedty@​0.0.1a24100100100100100

View full report

@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

❌ Patch coverage is 96.77419% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.56%. Comparing base (ffa7d62) to head (7199d5a).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
torchcam/methods/activation.py 90.90% 1 Missing ⚠️
torchcam/methods/core.py 94.73% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #358      +/-   ##
==========================================
+ Coverage   97.36%   97.56%   +0.20%     
==========================================
  Files           8        8              
  Lines         455      452       -3     
==========================================
- Hits          443      441       -2     
+ Misses         12       11       -1     
Files with missing lines Coverage Δ
torchcam/__init__.py 100.00% <100.00%> (ø)
torchcam/methods/_utils.py 100.00% <100.00%> (ø)
torchcam/methods/gradient.py 100.00% <100.00%> (ø)
torchcam/metrics.py 97.67% <100.00%> (+2.21%) ⬆️
torchcam/utils.py 84.61% <ø> (ø)
torchcam/methods/activation.py 97.69% <90.90%> (ø)
torchcam/methods/core.py 96.35% <94.73%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frgfm frgfm merged commit 31e32e7 into main Oct 23, 2025
40 of 42 checks passed
@frgfm frgfm deleted the frgfm/uv-ty branch October 23, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants