Skip to content

Issues: pylint-dev/pylint

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or ⇧ + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Handle deferred evaluation of annotations in Python 3.14 Blocked 🚧 Blocked by a particular issue C: undefined-variable Issues related to 'undefined-variable' check C: used-before-assignment Issues related to 'used-before-assignment' check python 3.14 typing
#10381 opened May 14, 2025 by cdce8p Draft 4.0.0
False positive used-before-assignment C: used-before-assignment Issues related to 'used-before-assignment' check Control flow Requires control flow understanding False Positive 🦟 A message is emitted but nothing is wrong with the code Needs design proposal πŸ”’ This is a huge feature, some discussion should happen before a PR is proposed
#10195 opened Jan 20, 2025 by SpecLad
3.14 annotation evaluation is deferred C: undefined-variable Issues related to 'undefined-variable' check C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code py-version python 3.14 typing
#10149 opened Dec 22, 2024 by nickdrozd 4.0.0
False negative used-before-assignment when the variable is used again in try/except C: used-before-assignment Issues related to 'used-before-assignment' check False Negative πŸ¦‹ No message is emitted but something is wrong with the code
#9941 opened Sep 20, 2024 by octaviancorlade
Inconsistency between used-before-assignment and possibly-used-before-assignment for if/elif/else C: used-before-assignment Issues related to 'used-before-assignment' check Minor πŸ’… Polishing pylint is always nice Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9879 opened Aug 18, 2024 by nikita-leontiev
[used-before-assignment] False negative when nested in if statements C: used-before-assignment Issues related to 'used-before-assignment' check Needs decision πŸ”’ Needs a decision before implemention or rejection
#9859 opened Aug 5, 2024 by Kakadus
used-before-assignment false positive for type alias C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation python 3.12 typing
#9815 opened Jul 20, 2024 by nickdrozd
False positive E0601: used-before-assignment in try and while block C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9689 opened Jun 4, 2024 by jc-stu
False positive: possibly-used-before-assignment doesn't understand and-ed contions C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code High effort πŸ‹ Difficult solution or problem to solve Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9662 opened May 21, 2024 by skirpichev
[used-before-assignment] False negative for name defined inside loop that never runs C: used-before-assignment Issues related to 'used-before-assignment' check False Negative πŸ¦‹ No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9642 opened May 17, 2024 by hydrargyrum
False positive: unused-variable + undefined-variable when using := operator in stacked decorators C: undefined-variable Issues related to 'undefined-variable' check C: used-before-assignment Issues related to 'used-before-assignment' check Decorators False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9641 opened May 17, 2024 by abaumfalk
undefined-variable/possibly-used-before-assignment/used-before-assignment false positives for global C: undefined-variable Issues related to 'undefined-variable' check C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9633 opened May 16, 2024 by nikita-leontiev
False positive for E0601 when variable first assigned in assignment expression in if clause of a comprehension C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9460 opened Feb 23, 2024 by deFractal
[used-before-assignment] False negative for for/if/else/continue pattern C: used-before-assignment Issues related to 'used-before-assignment' check False Negative πŸ¦‹ No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9379 opened Jan 22, 2024 by jacobtylerwalls
Pylint false report for used-before-assignment C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9134 opened Oct 9, 2023 by matejsp
used-before-assignment false positive C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#9126 opened Oct 6, 2023 by nikita-leontiev
used-before-assignment for assignment in inner try when outer try returns C: used-before-assignment Issues related to 'used-before-assignment' check Control flow Requires control flow understanding False Positive 🦟 A message is emitted but nothing is wrong with the code
#8686 opened May 15, 2023 by jacobtylerwalls
False negative for NameError from calling inner function before variable is assigned C: used-before-assignment Issues related to 'used-before-assignment' check Control flow Requires control flow understanding False Negative πŸ¦‹ No message is emitted but something is wrong with the code
#8495 opened Mar 26, 2023 by jacobtylerwalls
used-before-assignment when using walrus operator(:=) in dict, generator, some comprehensionswith function Assignment expression Related to the walrus operator / assignment expression C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code
#8486 opened Mar 23, 2023 by LCH-1
False positive used-before-assignment with multi-item with statement and tuple target C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#7545 opened Sep 30, 2022 by ytoku
False positive used-before-assignment with walrus operator inside binary operation Assignment expression Related to the walrus operator / assignment expression C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs investigation πŸ”¬ A bug or crash where it's not immediately obvious what is happenning Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#7538 opened Sep 28, 2022 by Questionsdenombres
E0601 false positive when nested try block exhaustively defines name, raises, or returns C: used-before-assignment Issues related to 'used-before-assignment' check Control flow Requires control flow understanding False Positive 🦟 A message is emitted but nothing is wrong with the code Minor πŸ’… Polishing pylint is always nice
#7350 opened Aug 24, 2022 by AndersMunch
False positive used-before-assignment with dataclasses and shadowing C: used-before-assignment Issues related to 'used-before-assignment' check dataclasses False Positive 🦟 A message is emitted but nothing is wrong with the code
#6748 opened May 30, 2022 by The-Compiler
used-before-assignment false positive on multiple-target assignment C: used-before-assignment Issues related to 'used-before-assignment' check False Positive 🦟 A message is emitted but nothing is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#5955 opened Mar 24, 2022 by xmo-odoo
False negative used-before-assignment after name defined and used in except C: used-before-assignment Issues related to 'used-before-assignment' check False Negative πŸ¦‹ No message is emitted but something is wrong with the code Needs PR This issue is accepted, sufficiently specified and now needs an implementation
#5780 opened Feb 8, 2022 by jacobtylerwalls
ProTip! Follow long discussions with comments:>50.