third_party.pylibs.pylint.src/script
Daniël van Noord 66ffcbc4c5
Add `Consider-using-f-string` checker (#4796)
* Add ``consider-using-f-string`` checker
This adds a checker for normal strings which are formatted
with ``.format()`` or '%'.
The message is a convention to nudge users towards using f-strings.
This closes #3592

* Update pylint code to use f-strings
After adding `consider-using-f-strings` the codebase showed numerous
cases of formatting which could be f-strings.
This commit changes most of these to become f-strings, or adds ignores.

* Apply suggestions from code review

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2021-08-30 07:57:05 +02:00
..
__init__.py
bump_changelog.py Add `Consider-using-f-string` checker (#4796) 2021-08-30 07:57:05 +02:00
fix_documentation.py Add unspecified-encoding checker #3826 (#4753) 2021-07-28 20:18:44 +02:00