You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve lambda validation scoping error in init command
Fixes#10 - Lambda functions in init.py were failing with "cannot access
free variable 're'" error due to duplicate import statements creating
scope ambiguity.
Changes:
- Remove redundant 'import re' statement from line 263
- Extract validation logic into named functions for better maintainability
- Apply linting fixes and code formatting
The bug occurred because Python's closure mechanism couldn't determine
which 're' module to capture when lambdas were defined across different
scopes. Removing the duplicate import resolves this ambiguity.
0 commit comments