diff options
author | Andy Palmer <25123779+ninezerozeronine@users.noreply.github.com> | 2019-12-16 00:38:21 -0800 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-12-16 09:38:21 +0100 |
commit | dc83a86bc5556e2ec630403f760461708f15a69b (patch) | |
tree | 1fe6edc4d82445c60105ccd1745ea2a2c53096df /doc | |
parent | c4a954fdc354a8849a6bd3641bd64b8ce0608c73 (diff) | |
download | pylint-git-dc83a86bc5556e2ec630403f760461708f15a69b.tar.gz |
Add check to make sure only strings are assigned to __name__ (#3271)
Close #583
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.5.rst | 2 |
1 files changed, 2 insertions, 0 deletions
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 |