From dc83a86bc5556e2ec630403f760461708f15a69b Mon Sep 17 00:00:00 2001 From: Andy Palmer <25123779+ninezerozeronine@users.noreply.github.com> Date: Mon, 16 Dec 2019 00:38:21 -0800 Subject: Add check to make sure only strings are assigned to __name__ (#3271) Close #583 --- doc/whatsnew/2.5.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/whatsnew/2.5.rst b/doc/whatsnew/2.5.rst index f073830fb..d5adca647 100644 --- a/doc/whatsnew/2.5.rst +++ b/doc/whatsnew/2.5.rst @@ -66,3 +66,5 @@ separated list of regexes, that if a name matches will be always marked as a bla * Mutable ``collections.*`` are now flagged as dangerous defaults. * Add new --fail-under flag for setting the threshold for the score to fail overall tests. If the score is over the fail-under threshold, pylint will complete SystemExit with value 0 to indicate no errors. + +* Add a new check (non-str-assignment-to-dunder-name) to ensure that only strings are assigned to ``__name__`` attributes \ No newline at end of file -- cgit v1.2.1