Skip to content

Add missing @beartype to active_flag_option#1982

Merged
adamtheturtle merged 1 commit into
mainfrom
add-missing-beartype
Feb 21, 2026
Merged

Add missing @beartype to active_flag_option#1982
adamtheturtle merged 1 commit into
mainfrom
add-missing-beartype

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

@adamtheturtle adamtheturtle commented Feb 21, 2026

Summary

  • Add @beartype decorator to active_flag_option which was the only function in targets.py missing it

Test plan

  • Run existing test suite to verify no regressions

🤖 Generated with Claude Code


Note

Low Risk
Tiny, localized change that only adds runtime type checking to a CLI option helper; low chance of regressions beyond surfacing incorrect caller types.

Overview
Adds @beartype to active_flag_option in src/vws_cli/options/targets.py, making its allow_none: bool argument enforce runtime type checking consistent with the other option decorator helpers.

Written by Cursor Bugbot for commit e83b631. This will update automatically on new commits. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adamtheturtle adamtheturtle merged commit c8e9a96 into main Feb 21, 2026
16 checks passed
@adamtheturtle adamtheturtle deleted the add-missing-beartype branch February 21, 2026 09:48
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