Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2021 (3)
20082026
  1. ▲ 2
    flynt – convert old Python code to use Python 3.6's "f-strings"
    story by gjvc · 2023-12-29 · 0 comments
  2. ▲ 1
    Flynt – convert Python old %-formatted strings to Python 3.6 f-strings
    story by beatthatflight · 2022-12-01 · 0 comments
  3. 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.
  4. ▲ 79
    Flynt: Convert old Python string formatting to f-strings
    story by snth · 2021-02-10 · 39 comments
  5. …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