Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Jan 17, 2025
1 parent 90b5e3a commit de6e8ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions crates/pixi_build_type_conversions/src/project_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ pub fn to_project_model_v1(

#[cfg(test)]
mod tests {
use pixi_build_types::VersionedProjectModel;
use rattler_conda_types::ChannelConfig;
use rstest::rstest;
use std::path::PathBuf;
use pixi_build_types::VersionedProjectModel;

fn some_channel_config() -> ChannelConfig {
ChannelConfig {
Expand Down Expand Up @@ -197,7 +197,9 @@ mod tests {

// Convert the manifest to the project model
let project_model: VersionedProjectModel =
super::to_project_model_v1(&package_manifest, &some_channel_config()).unwrap().into();
super::to_project_model_v1(&package_manifest, &some_channel_config())
.unwrap()
.into();
let mut settings = insta::Settings::clone_current();
settings.set_snapshot_suffix(name);
settings.bind(|| {
Expand Down
2 changes: 1 addition & 1 deletion crates/pixi_build_types/src/project_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use url::Url;

/// Enum containing all versions of the project model.
#[derive(Debug, Serialize, Deserialize)]
#[serde(tag = "version", content="data")]
#[serde(tag = "version", content = "data")]
#[serde(rename_all = "camelCase")]
pub enum VersionedProjectModel {
/// Version 1 of the project model.
Expand Down

0 comments on commit de6e8ae

Please sign in to comment.