Skip to content
Snippets Groups Projects

Run flynt (https://pypi.org/project/flynt/) on pystencils

Closed Stephan Seitz requested to merge seitz/pystencils:try-flynt into master

This replaces usages of "" % s by Python's f-strings.

Is this a good thing? I don't know. :shrug:

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • closed

  • I like f-strings a lot. But they are available only since Python 3.7. And I want to support Python3.6 as well, since it comes with recent Ubuntu LTS's.

    But good to know that there is a tool that convert to f-strings automatically. We can use this as soon as we drop Python3.6 support.

Please register or sign in to reply