Skip to content

Comments

Add uv support#775

Open
n-thumann wants to merge 4 commits intogreenbone:mainfrom
n-thumann:add_uv_support
Open

Add uv support#775
n-thumann wants to merge 4 commits intogreenbone:mainfrom
n-thumann:add_uv_support

Conversation

@n-thumann
Copy link
Member

@n-thumann n-thumann commented Feb 23, 2026

What

This PR adds support for uv mode.

Why

If a project is managing its dependencies with uv instead of e.g. poetry, it currently cannot use autohooks.

References

Stumbled upon this during and tested in https://github.com/greenbone/vt-cve-library/pull/198.

Checklist

  • Tests

@n-thumann n-thumann requested a review from a team as a code owner February 23, 2026 16:17
@greenbonebot greenbonebot enabled auto-merge (rebase) February 23, 2026 16:17
@github-actions
Copy link

github-actions bot commented Feb 23, 2026

Conventional Commits Report

Type Number
Changed 2
Added 2

🚀 Conventional commits found.

auto-merge was automatically disabled February 23, 2026 16:18

Head branch was pushed to by a user without write access

@greenbonebot greenbonebot enabled auto-merge (rebase) February 23, 2026 16:18
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.48%. Comparing base (ed561e2) to head (9504499).

Files with missing lines Patch % Lines
autohooks/config.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #775      +/-   ##
==========================================
- Coverage   89.50%   89.48%   -0.02%     
==========================================
  Files          14       14              
  Lines         705      723      +18     
==========================================
+ Hits          631      647      +16     
- Misses         74       76       +2     

☔ 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