summaryrefslogtreecommitdiff
path: root/tests/functional/m/misplaced_format_function.py
Commit message (Collapse)AuthorAgeFilesLines
* Add ``Consider-using-f-string`` checker (#4796)Daniël van Noord2021-08-301-1/+1
| | | | | | | | | | | | | | | | * 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>
* Rename blacklisted-name to disallowed-namePeter Kolbus2021-03-091-1/+1
| | | | | | In the base checker, change the 'blacklisted-name' message to 'disallowed-name'. For backward compatibility, blacklisted-name is an old_name for disallowed-name.
* [functional tests] Rename example_functional_tests.py => ↵Pierre Sassoulas2019-09-101-0/+58
e/example_functional_tests.py Permit to navigate in the functional tests easier.