ikamensh/flynt
View on GitHub ↗ ★ 733 Rust
A tool to automatically convert old string literal formatting to f-strings
5 mentions on Hacker News by 5 people: 3 stories, 2 comments · first 2021-02-09 · latest 2023-12-29
20082026
-
▲ 2
flynt – convert old Python code to use Python 3.6's "f-strings"story by gjvc · 2023-12-29 · 0 comments
-
▲ 1
Flynt – convert Python old %-formatted strings to Python 3.6 f-stringsstory by beatthatflight · 2022-12-01 · 0 comments
-
That is a great write-up! One extra bit I'd recommend to this list is using https://github.com/ikamensh/flynt to convert string format into f-strings. It requires Python 3.6.
comment by edumucelli · 2021-07-05 · in Python Best Practices for a New Project in 2021 -
▲ 79
Flynt: Convert old Python string formatting to f-stringsstory by snth · 2021-02-10 · 39 comments
-
…can convert older string formatting code to the newer fstring style. I've found it very helpful! https://github.com/ikamensh/flynt
comment by matt_trentini · 2021-02-09 · in Pattern matching accepted for Python