Skip to content

Commit

Permalink
Remove unused runtime string formatting logic (#6624)
Browse files Browse the repository at this point in the history
In #6616 we are adding support for
nested replacements in format specifiers which makes actually formatting
strings infeasible without a great deal of complexity. Since we're not
using these functions (they just exist for runtime use in RustPython),
we can just remove them.
  • Loading branch information
zanieb authored Aug 16, 2023
1 parent 0a5be74 commit 6253d8e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 949 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion crates/ruff_python_literal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ hexf-parse = "0.2.1"
is-macro.workspace = true
itertools = { workspace = true }
lexical-parse-float = { version = "0.8.0", features = ["format"] }
num-bigint = { workspace = true }
num-traits = { workspace = true }
unic-ucd-category = "0.9"

Expand Down
Loading

0 comments on commit 6253d8e

Please sign in to comment.