diff options
author | bernie gray <bfgray3@users.noreply.github.com> | 2020-03-11 09:13:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 14:13:26 +0100 |
commit | 762e1a13601f5e205a6be1c8b5450f2c519b87de (patch) | |
tree | 53e78d4368e4b2a15a0fb911bdf227c202009881 /doc | |
parent | 78adea9f4485660eb14dc1c6954de445e76ba66d (diff) | |
download | pylint-git-762e1a13601f5e205a6be1c8b5450f2c519b87de.tar.gz |
Allow non-ASCII characters in identifiers in the invalid-name rule and add non-ascii-name check
Non-ASCII characters are now allowed by ``invalid-name`` check.
Also this commit adds a new check ``non-ascii-name``, which is used
to detect identifiers with non-ASCII characters.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.5.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/whatsnew/2.5.rst b/doc/whatsnew/2.5.rst index 9c41b37a7..3fb98236d 100644 --- a/doc/whatsnew/2.5.rst +++ b/doc/whatsnew/2.5.rst @@ -89,4 +89,8 @@ separated list of regexes, that if a name matches will be always marked as a bla * Add a new check (non-str-assignment-to-dunder-name) to ensure that only strings are assigned to ``__name__`` attributes -* Add a new option ``notes-rgx`` to make fixme warnings more flexible. Now either ``notes`` or ``notes-rgx`` option can be used to detect fixme warnings. +* Add a new option ``notes-rgx`` to make fixme warnings more flexible. Now either ``notes`` or ``notes-rgx`` option can be used to detect fixme warnings. + +* Non-ASCII characters are now allowed by ``invalid-name``. + +* Add a new check ``non-ascii-name`` to detect identifiers with non-ASCII characters. |