TylerYep / torchinfo

View model summaries in PyTorch!
MIT License
2.6k stars 122 forks source link

Use Ruff TYPE_CHECKING blocks #305

Closed TylerYep closed 7 months ago

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 78.57143% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 97.20%. Comparing base (00ede45) to head (98f54d0).

Files Patch % Lines
torchinfo/formatting.py 66.66% 1 Missing :warning:
torchinfo/model_statistics.py 66.66% 1 Missing :warning:
torchinfo/torchinfo.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #305 +/- ## ========================================== - Coverage 97.50% 97.20% -0.31% ========================================== Files 6 6 Lines 641 643 +2 ========================================== Hits 625 625 - Misses 16 18 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.