Skip to content

fixes - #196

Closed
marlon-costa-dc wants to merge 3 commits into
0.12.0-devfrom
preserve/audit-fix-20260923
Closed

fixes#196
marlon-costa-dc wants to merge 3 commits into
0.12.0-devfrom
preserve/audit-fix-20260923

Conversation

@marlon-costa-dc

@marlon-costa-dc marlon-costa-dc commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary by cubic

Fixes pyright exhaustiveness errors and syncs lazy import maps across flext_cli, examples, and tests.

  • Replaces the match on type_kind with an if/elif chain because pyright types the lazy facade as Unknown; mapping values now resolve for kinds other than STR and BOOL instead of passing through unchanged.
  • Exports flext_infra and flext_tests symbols and extends the flext_core and flext_cli lazy maps across the CLI, examples, and tests.

Written for commit eb05542. Summary will update on new commits.

Review in cubic

@marlon-costa-dc

Copy link
Copy Markdown
Contributor Author

Closing as superseded. The 0.12.0-dev tip keeps the match in flextclimodelsbase_part_07.py and its CI (including pyright) is green, so the if-chain workaround no longer has a failure to fix. The other three files (src/flext_cli/__init__.py, tests/__init__.py, examples/__init__.py) are AUTO-GENERATED lazy-init projections owned by make gen; hand edits there are overwritten by the generator.


Generated by Claude Code

@sonarqubecloud

Copy link
Copy Markdown

@marlon-costa-dc
marlon-costa-dc deleted the preserve/audit-fix-20260923 branch September 26, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant