From ff83f356af77051e5e64cfab39dca3f25b35d055 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 7 Nov 2022 16:38:46 -0500 Subject: [PATCH] Fix failing flake8-to-ruff tests --- flake8_to_ruff/src/converter.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake8_to_ruff/src/converter.rs b/flake8_to_ruff/src/converter.rs index 251a7068fa..9a3ad37eb8 100644 --- a/flake8_to_ruff/src/converter.rs +++ b/flake8_to_ruff/src/converter.rs @@ -202,6 +202,7 @@ mod tests { let actual = convert(&HashMap::from([]), None)?; let expected = Pyproject::new(Options { line_length: None, + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -232,6 +233,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: Some(100), + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -262,6 +264,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: Some(100), + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -292,6 +295,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: None, + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -322,6 +326,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: None, + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -360,6 +365,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: None, + fix: None, exclude: None, extend_exclude: None, select: Some(vec![ @@ -425,6 +431,7 @@ mod tests { )?; let expected = Pyproject::new(Options { line_length: None, + fix: None, exclude: None, extend_exclude: None, select: Some(vec![