Skip to content

Restore explicit provenance imports in ImageTool#377

Merged
kmnhan merged 1 commit into
mainfrom
fix-provenance-operations-globals
May 30, 2026
Merged

Restore explicit provenance imports in ImageTool#377
kmnhan merged 1 commit into
mainfrom
fix-provenance-operations-globals

Conversation

@kmnhan
Copy link
Copy Markdown
Owner

@kmnhan kmnhan commented May 30, 2026

Summary

  • Replaced globals().update(...) in provenance_operations.py with explicit imports from provenance_framework
  • Removed module-level mypy and ruff suppressions from the provenance operations module
  • Added a general AGENTS.md rule to avoid mutating globals() in library modules

@codecov
Copy link
Copy Markdown

codecov Bot commented May 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.89%. Comparing base (f966c25) to head (f6d4026).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #377   +/-   ##
=======================================
  Coverage   88.89%   88.89%           
=======================================
  Files         139      139           
  Lines       47155    47166   +11     
  Branches     7588     7592    +4     
=======================================
+ Hits        41918    41928   +10     
  Misses       3271     3271           
- Partials     1966     1967    +1     

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

@kmnhan kmnhan merged commit 0ba5d50 into main May 30, 2026
23 of 24 checks passed
@kmnhan kmnhan deleted the fix-provenance-operations-globals branch May 30, 2026 01:00
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