Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lacroix committed Mar 31, 2024
1 parent a02e995 commit d2c688e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/project/manifest/pyproject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl From<PyProjectManifest> for ProjectManifest {
let pythonspec = pyproject
.requires_python
.clone()
.map(|v| VersionOrUrl::VersionSpecifier(v));
.map(VersionOrUrl::VersionSpecifier);
let target = manifest.default_feature_mut().targets.default_mut();
target.add_dependency(
PackageName::from_str("python").unwrap(),
Expand Down Expand Up @@ -121,6 +121,9 @@ mod tests {
};

const PYPROJECT_FULL: &str = r#"
[project]
name = "project"
[tool.pixi.project]
name = "project"
version = "0.1.0"
Expand Down

0 comments on commit d2c688e

Please sign in to comment.