juftin / hatch-pip-compile

hatch plugin to use pip-compile (or uv) to manage project dependencies and lockfiles
http://juftin.com/hatch-pip-compile/
MIT License
76 stars 3 forks source link

✨ lock refactor #64

Closed juftin closed 8 months ago

juftin commented 8 months ago

This PR is a small refactor on the PipCompileLock class to have a single attribute, environment (PipCompileEnvironment), instead of many attributes. This gives the class full access to the parent PipCompileEnvironment class it's injected into.

codecov[bot] commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (4badcf9) 95.56% compared to head (99e798f) 95.53%. Report is 1 commits behind head on main.

Files Patch % Lines
hatch_pip_compile/lock.py 94.11% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #64 +/- ## ========================================== - Coverage 95.56% 95.53% -0.04% ========================================== Files 16 16 Lines 857 851 -6 Branches 139 139 ========================================== - Hits 819 813 -6 Misses 24 24 Partials 14 14 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.