Skip to content

Commit 0b2560d

Browse files
Copilotzanieb
andcommitted
Fix Rust code formatting lint issues
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com>
1 parent 399cf76 commit 0b2560d

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

crates/uv/src/commands/project/version.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,11 @@ fn hint_uv_self_version(err: WorkspaceError, explicit_project: bool) -> anyhow::
345345
/// Find the pyproject.toml we're modifying
346346
///
347347
/// Note that `uv version` never needs to support PEP 723 scripts, as those are unversioned.
348-
async fn find_target(project_dir: &Path, package: Option<&PackageName>, explicit_project: bool) -> Result<VirtualProject> {
348+
async fn find_target(
349+
project_dir: &Path,
350+
package: Option<&PackageName>,
351+
explicit_project: bool,
352+
) -> Result<VirtualProject> {
349353
// Find the project in the workspace.
350354
// No workspace caching since `uv version` changes the workspace definition.
351355
let project = if let Some(package) = package {

crates/uv/tests/it/version.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,8 +1687,6 @@ fn version_get_fallback_missing_strict() -> Result<()> {
16871687
Ok(())
16881688
}
16891689

1690-
1691-
16921690
/// Should error with hint if pyproject.toml is missing in normal mode
16931691
#[test]
16941692
fn version_get_missing_with_hint() -> Result<()> {

0 commit comments

Comments
 (0)