diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-10-25 23:30:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 23:30:29 +0200 |
commit | 157091a014fb9a160682d250ef68c1114a505d4f (patch) | |
tree | 10b5801bb5023a921cf6da7599a82303afb39d0b /doc | |
parent | 30743e0ffbf149246860a0d7ea4a1324c7a8ec00 (diff) | |
download | pylint-git-157091a014fb9a160682d250ef68c1114a505d4f.tar.gz |
Add tests for assignment expressions in function defaults (#5188)
* Add tests for assignment expressions in function defaults
Ref #3688
* Upgrade astroid to 2.8.4
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.12.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/whatsnew/2.12.rst b/doc/whatsnew/2.12.rst index af5b33a43..0573ddc50 100644 --- a/doc/whatsnew/2.12.rst +++ b/doc/whatsnew/2.12.rst @@ -86,6 +86,11 @@ Other Changes Closes #3771 +* ``undefined-variable`` and ``unused-variable`` now correctly trigger for assignment expressions + in functions defaults + + Fixes part of #3688 + * Fix double emitting of ``not-callable`` on inferrable ``properties`` Closes #4426 |