Skip to content

Commit 1f80ba1

Browse files
committed
Fix false-positive 'expression-not-assigned' linter check on lambdas
1 parent eed5ebb commit 1f80ba1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [master]
4+
5+
### Changed
6+
- Fixed false-positive `expression-not-assigned` linter check on lambdas
7+
38
## [4.3.2] 2024-10-20
49

510
### Added

gdtoolkit/linter/basic_checks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def _expression_not_assigned_check(parse_tree: Tree) -> List[Problem]:
7070
"standalone_call",
7171
"getattr_call",
7272
"string",
73+
"lambda",
7374
]:
7475
problems.append(
7576
Problem(

0 commit comments

Comments
 (0)