Skip to content

refactor: convert asserts to ValueErrors and add bandit check#52

Merged
schwehr merged 1 commit into
mainfrom
add-bandit-fix-asserts
Jul 11, 2026
Merged

refactor: convert asserts to ValueErrors and add bandit check#52
schwehr merged 1 commit into
mainfrom
add-bandit-fix-asserts

Conversation

@schwehr

@schwehr schwehr commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Add bandit to pre-commit to catch assert usage. Convert asserts in BitVector.py to raise ValueError and update tests to expect ValueError. Add test for FILEIN is None case.

Fixes 38

Add bandit to pre-commit to catch assert usage. Convert asserts in BitVector.py to raise ValueError and update tests to expect ValueError. Add test for FILEIN is None case.

Fixes #38
@schwehr
schwehr force-pushed the add-bandit-fix-asserts branch from 95c1435 to e02f223 Compare July 11, 2026 00:40
@schwehr
schwehr merged commit 4f3598a into main Jul 11, 2026
8 checks passed
@schwehr
schwehr deleted the add-bandit-fix-asserts branch July 11, 2026 00:53
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