Commit c96a9e4
[Backport maintenance/4.0.x] Fix crash when a variable annotation is used as
Fix crash when a variable annotation is used as `if` test expression (#10714)
Fix crash for ``consider-using-assignment-expr``.
(cherry picked from commit 926529b)
Co-authored-by: Zen Lee <53538590+zenlyj@users.noreply.github.com>if test expression (#10729)1 parent 108191e commit c96a9e4
File tree
3 files changed
+10
-1
lines changed- doc/whatsnew/fragments
- pylint/extensions
- tests/functional/ext/code_style
3 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
0 commit comments