yaspin
yaspin copied to clipboard
`inject_spinner` decorator
Use a dependency injection to pass spinner instance explicitly to decorated function. Function receives spinner as first argument. This allows to modify spinner properties while using yaspin as a function decorator.
A solution for https://github.com/pavdmyt/yaspin/discussions/210
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.96%. Comparing base (
9c7430b) to head (e264b04).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #249 +/- ##
==========================================
+ Coverage 94.83% 94.96% +0.13%
==========================================
Files 5 5
Lines 387 397 +10
==========================================
+ Hits 367 377 +10
Misses 20 20
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Any updates on this ?
@afteroot I'll reconsider when preparing the next release.
Closing in favor of #256