Skip to content

Protect interfaces with typer.Exit#476

Merged
nathanjmcdougall merged 4 commits intomainfrom
462-include-typer-based-exit-for-all-interfaces
Apr 4, 2025
Merged

Protect interfaces with typer.Exit#476
nathanjmcdougall merged 4 commits intomainfrom
462-include-typer-based-exit-for-all-interfaces

Conversation

@nathanjmcdougall
Copy link
Collaborator

No description provided.

@nathanjmcdougall nathanjmcdougall linked an issue Apr 4, 2025 that may be closed by this pull request
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 4, 2025

CodSpeed Performance Report

Merging #476 will not alter performance

Comparing 462-include-typer-based-exit-for-all-interfaces (1be42b1) with main (bbd12c1)

Summary

✅ 1 untouched benchmarks

@codecov
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

Attention: Patch coverage is 94.87179% with 6 lines in your changes missing coverage. Please review.

Project coverage is 97.50%. Comparing base (8f6ef41) to head (1be42b1).
Report is 6 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/usethis/_interface/badge.py 78.57% 3 Missing ⚠️
src/usethis/_interface/browse.py 57.14% 3 Missing ⚠️

❌ Your patch status has failed because the patch coverage (94.87%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #476      +/-   ##
==========================================
+ Coverage   97.31%   97.50%   +0.19%     
==========================================
  Files          82       82              
  Lines        3757     3812      +55     
==========================================
+ Hits         3656     3717      +61     
+ Misses        101       95       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nathanjmcdougall
Copy link
Collaborator Author

Working towards #190...

@nathanjmcdougall nathanjmcdougall merged commit 00c1ae0 into main Apr 4, 2025
16 of 17 checks passed
@nathanjmcdougall nathanjmcdougall deleted the 462-include-typer-based-exit-for-all-interfaces branch April 4, 2025 04:51
@nathanjmcdougall nathanjmcdougall linked an issue Apr 5, 2025 that may be closed by this pull request
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.

Include typer-based exit for all interfaces Use Click's CliRunner to test the CLI

1 participant