Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PyCQA migration] Upgrade links to the repositories in code and doc (#8514) | Pierre Sassoulas | 2023-03-29 | 1 | -3/+3 |
| | |||||
* | Fix FP for used-before-assignment with assignment expressions in containers ↵ | Jacob Walls | 2023-02-11 | 1 | -3/+7 |
| | | | | (#8253) | ||||
* | Fix `used-before-assignment` false positive for TYPE_CHECKING if/elif/else ↵ | Zen Lee | 2023-02-07 | 1 | -0/+20 |
| | | | | usage (#8071) | ||||
* | Fix unreleased false positives with `used-before-assignment` (#7921) | Jacob Walls | 2022-12-12 | 1 | -0/+4 |
| | | | | | Cases with NamedExpr and Starred relating to definitions under "always false" conditions added in https://github.com/PyCQA/pylint/pull/6677 | ||||
* | Prevent `used-before-assignment` for variables defined in assignment ↵ | Jacob Walls | 2022-11-25 | 1 | -3/+4 |
| | | | | expressions (#7847) | ||||
* | Emit `used-before-assignment` for variables only defined under always false ↵ | Jacob Walls | 2022-11-22 | 1 | -0/+5 |
| | | | | tests (#6677) | ||||
* | Move `consider-using-augmented-assign` to `CodeStyle` extension (#7628) | Marc Mueller | 2022-10-16 | 1 | -1/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add ``consider-using-augmented-assign`` checker (#7514) | Daniël van Noord | 2022-09-22 | 1 | -1/+1 |
| | | | | Co-authored-by: clavedeluna <danalitovsky+git@gmail.com> Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | ||||
* | Emit `used-before-assignment` for self-referencing assignments under if ↵ | Jacob Walls | 2022-06-15 | 1 | -0/+5 |
| | | | | conditions (#6958) | ||||
* | Warn about self-referencing named expressions lacking prior assignments (#6915) | Jacob Walls | 2022-06-12 | 1 | -1/+7 |
| | |||||
* | Fix handling of "for x in x" homonyms (#6154) | Jacob Walls | 2022-04-03 | 1 | -1/+1 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix #5112: Prevent `used-before-assignment` if named expression found first ↵ | Jacob Walls | 2022-02-17 | 1 | -0/+14 |
| | | | | | in container (#5812) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive `used-before-assignment` for named expressions in ternary ↵ | Jacob Walls | 2022-02-02 | 1 | -0/+16 |
| | | | | operators (#5748) | ||||
* | Remove moot TODO (#5747) | Jacob Walls | 2022-01-30 | 1 | -2/+1 |
| | | | Changing the message type occurred in 0fb6a120c6f0fbc94e305542fe29e790274be096 and updating this unit test to match took place in fa2b6ceca796311a918e28770d101b53a43f84f3. | ||||
* | Fix test conflicts after merging two valid MR incompatible together (#5726) | Jacob Walls | 2022-01-26 | 1 | -2/+2 |
| | | | After f85fb8d975d17f411e5f91ed2d5f21ba999e121e, certain unused type annotations raise `used-before-assignment` rather than `undefined-variable`. The subsequent commit `0fb6a120c6f0fbc94e305542fe29e790274be096` was drafted before the prior change was made, and it addressed a related false negative, so this commit just applies the intended change of message type. | ||||
* | Fix false negative for `undefined-variable` (#5711) | Jacob Walls | 2022-01-26 | 1 | -1/+16 |
| | | | | | | | For unused type annotation after the same name appears multiple times in a comprehension Fix #5654 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix false positive for `unused-variable` for a comprehension variable ↵ | Jacob Walls | 2022-01-10 | 1 | -2/+19 |
| | | | | | | | matching a type annotation (#5651) * Close #5326 | ||||
* | Fix ``used-before-assignment`` for assignment expressions in lambda (#5530) | Daniël van Noord | 2021-12-21 | 1 | -0/+11 |
| | |||||
* | Add control flow check for ``undefined-variable`` in ``if ... else`` | Daniël van Noord | 2021-10-26 | 1 | -1/+50 |
| | | | | Closes #3688 | ||||
* | Add tests for assignment expressions in function defaults (#5188) | Daniël van Noord | 2021-10-25 | 1 | -0/+33 |
| | | | | | | | | | * 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> | ||||
* | Fix regression for ``_is_only_type_assignment`` (#5163) | Daniël van Noord | 2021-10-23 | 1 | -0/+17 |
* Fix regression for ``_is_only_type_assignment`` This closes #5162 * Remove references to `name` * Better tests for assignment * Move walrus tests to different file * Fix tests with incorrect typing * Update typing of `defstmt` Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> |