Skip to content

Commit

Permalink
Fix false-positive 'expression-not-assigned' linter check on lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
Scony committed Oct 31, 2024
1 parent eed5ebb commit 1f80ba1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [master]

### Changed
- Fixed false-positive `expression-not-assigned` linter check on lambdas

## [4.3.2] 2024-10-20

### Added
Expand Down
1 change: 1 addition & 0 deletions gdtoolkit/linter/basic_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _expression_not_assigned_check(parse_tree: Tree) -> List[Problem]:
"standalone_call",
"getattr_call",
"string",
"lambda",
]:
problems.append(
Problem(
Expand Down

0 comments on commit 1f80ba1

Please sign in to comment.