diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-12-02 19:12:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 19:12:51 +0100 |
commit | 8f12337deed0e532516307522041842227bd25a6 (patch) | |
tree | 14bfbff0d56add25a8da93ac8dcfa65af655f93b /ChangeLog | |
parent | c15d1cf642f1731ca22e12dbe6e5b0dddb1856a2 (diff) | |
download | pylint-git-8f12337deed0e532516307522041842227bd25a6.tar.gz |
Fix false positive for ``used-before-assignment`` for vars in methods (#5454)
* Create new ``used_before_assignment_typing`` test file
* Fix false positive for ``used-before-assignment`` for vars in methods
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ Release date: TBA * Fixed a false positive for ``unused-import`` where everything was not analyzed properly inside typing guards. +* Fixed a false-positive regression for ``used-before-assignment`` for + typed variables in the body of class methods that reference the same class + + Closes #5342 + * Specified that the ``ignore-paths`` option considers "\" to represent a windows directory delimiter instead of a regular expression escape character. |