flake8-string-format icon indicating copy to clipboard operation
flake8-string-format copied to clipboard

Feature request: forbid format usage instead if str call

Open Melevir opened this issue 6 years ago • 1 comments

It would be nice to forbid {0}.format(...), {}.format(...) and so on calls, str should be used instead.

If the project is maintained and feature request will be accepted, I would be happy to make pull request.

Melevir avatar Dec 05 '19 11:12 Melevir

So you only mean to change "{0}".format(x)/"{}".format(x) into str(x)? In that case I'm not sure if that is in scope of this plugin, although if the changes are not that large I'd be willing to merge a potential pull request.

xZise avatar Feb 16 '20 10:02 xZise