-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Conversation
@gaoflow
gaoflow
force-pushed
the
fix-legal-process-non-string
branch
from
June 19, 2026 03:26
0bf16da to
e46f6ba
Compare
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (e1ce34a) to head (e46f6ba).
Additional details and impacted files
@@ Coverage Diff @@ ## main #743 +/- ## ======================================= Coverage 99.08% 99.08% ======================================= Files 26 26 Lines 765 769 +4 ======================================= + Hits 758 762 +4 Misses 7 7
☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
format_legal_process()returnNonefor non-string invalid inputs instead of raisingAttributeErroris_valid_legal_process()returnFalsebefore parsing non-string or non-20-digit cleaned inputsTests
python -m unittest tests.test_legal_processPYTHONDONTWRITEBYTECODE=1 python -m unittest discover tests/ruff check .ruff format --check .python -m compileall -q brutils testsgit diff --checkAI assistance was used under my direction.