Commit e60b80e
[Backport maintenance/4.0.x] Fix
Fix `unused-variable` false positive with `__all__` or `__future__.annotations` (#10643)
(cherry picked from commit bbbdb9d)
Co-authored-by: Mark Byrne <[email protected]>unused-variable false positive with __all__ or __future__.annotations (#10653)1 parent abcf2ed commit e60b80e
File tree
4 files changed
+24
-0
lines changed- doc/whatsnew/fragments
- pylint/checkers
- tests/functional/u/unused
4 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3285 | 3285 | | |
3286 | 3286 | | |
3287 | 3287 | | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
3288 | 3296 | | |
3289 | 3297 | | |
3290 | 3298 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments