mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-02 06:51:14 +00:00
Remove unused PEP 621 error (#4057)
This commit is contained in:
parent
c97427d530
commit
a0173760f1
1 changed files with 0 additions and 15 deletions
|
@ -12,25 +12,10 @@ use std::ops::Deref;
|
|||
use glob::Pattern;
|
||||
use pep440_rs::VersionSpecifiers;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use thiserror::Error;
|
||||
use url::Url;
|
||||
|
||||
use pep508_rs::Pep508Error;
|
||||
use pypi_types::VerbatimParsedUrl;
|
||||
use uv_normalize::{ExtraName, PackageName};
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum Pep621Error {
|
||||
#[error(transparent)]
|
||||
Pep508(#[from] Box<Pep508Error<VerbatimParsedUrl>>),
|
||||
}
|
||||
|
||||
impl From<Pep508Error<VerbatimParsedUrl>> for Pep621Error {
|
||||
fn from(error: Pep508Error<VerbatimParsedUrl>) -> Self {
|
||||
Self::Pep508(Box::new(error))
|
||||
}
|
||||
}
|
||||
|
||||
/// A `pyproject.toml` as specified in PEP 517.
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue