feat: Implement --annotation-style parameter for uv pip compile (#1679)

## Summary

Hello there! The motivation for this feature is described here #1678 

## Test Plan

I've added unit tests and also tested this manually on my work project
by comparing it to the original `pip-compile` output - it looks much
like the `pip-compile` generated lock file.
This commit is contained in:
Evgeniy Dubovskoy 2024-02-21 04:08:34 +02:00 committed by GitHub
parent 3cd51ffc92
commit 31752bf4be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 193 additions and 53 deletions

View file

@ -4,7 +4,7 @@ pub use finder::{DistFinder, Reporter as FinderReporter};
pub use manifest::Manifest;
pub use options::{Options, OptionsBuilder};
pub use prerelease_mode::PreReleaseMode;
pub use resolution::{Diagnostic, DisplayResolutionGraph, ResolutionGraph};
pub use resolution::{AnnotationStyle, Diagnostic, DisplayResolutionGraph, ResolutionGraph};
pub use resolution_mode::ResolutionMode;
pub use resolver::{
BuildId, DefaultResolverProvider, InMemoryIndex, Reporter as ResolverReporter, Resolver,