Skip to content

Commit

Permalink
Rename crate to ruff_python_formatter (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Feb 15, 2023
1 parent d1a7f5e commit d8802ed
Show file tree
Hide file tree
Showing 130 changed files with 24 additions and 32 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions crates/ruff_fmt/example.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ruff_fmt"
version = "0.1.0"
name = "ruff_python_formatter"
version = "0.0.0"
edition = "2021"

[dependencies]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,14 @@ mod tests {
Ok(())
}

#[ignore]
// Passing apart from one deviation in RHS tuple assignment.
// #[test_case(Path::new("simple_cases/tupleassign.py"); "tupleassign")]
#[test_case(Path::new("simple_cases/tupleassign.py"); "tupleassign")]
// Lots of deviations, _mostly_ related to string normalization and wrapping.
// #[test_case(Path::new("simple_cases/expression.py"); "expression")]
// #[test_case(Path::new("simple_cases/function.py"); "function")]
// #[test_case(Path::new("simple_cases/function2.py"); "function2")]
// #[test_case(Path::new("simple_cases/power_op_spacing.py"); "power_op_spacing")]
#[test_case(Path::new("simple_cases/expression.py"); "expression")]
#[test_case(Path::new("simple_cases/function.py"); "function")]
#[test_case(Path::new("simple_cases/function2.py"); "function2")]
#[test_case(Path::new("simple_cases/power_op_spacing.py"); "power_op_spacing")]
fn failing(path: &Path) -> Result<()> {
let snapshot = format!("{}", path.display());
let content = std::fs::read_to_string(test_resource_path(
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d8802ed

Please sign in to comment.