summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-08-04 20:35:46 +0200
committerGitHub <noreply@github.com>2021-08-04 20:35:46 +0200
commitea7f39e3ab82de36ce0becc6d70151d862c807dc (patch)
treec002b664b497e9eb4d924246924ca23246718a96 /doc
parent02e52891dda5f619b604b88565d260ed234c25ca (diff)
downloadpylint-git-ea7f39e3ab82de36ce0becc6d70151d862c807dc.tar.gz
Add ``format-string-without-interpolation`` checker (#4794)
* Add ``format-string-without-interpolation`` checker This adds a checker that checks strings with '%' or format() applied to them. If no variables to be replaced are found the warning is emitted. Closes #4042 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/2.10.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/2.10.rst b/doc/whatsnew/2.10.rst
index 58cc2b9a0..de209d5d2 100644
--- a/doc/whatsnew/2.10.rst
+++ b/doc/whatsnew/2.10.rst
@@ -70,3 +70,7 @@ Other Changes
in an exception handler, but used outside of the handler.
Closes #626
+
+* Added ``format-string-without-interpolation`` checker: Emitted when formatting is applied to a string without any variables to be replaced
+
+ Closes #4042