abhiTronix / vidgear

A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features :fire:
https://abhitronix.github.io/vidgear
Apache License 2.0
3.39k stars 255 forks source link

Added type annotations #376 #414

Closed abhisheksuran closed 3 months ago

abhisheksuran commented 4 months ago

Brief Description

Added type annotations to improve code clarity and enable static type checking.

Requirements / Checklist

Related Issue

https://github.com/abhiTronix/vidgear/issues/376

Context

This change addresses issue #376 by adding type annotations.

Types of changes

Screenshots (if available):

None

welcome[bot] commented 4 months ago

Thanks so much for opening your first PR here, a maintainer will get back to you shortly!

In the meantime:

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.04%. Comparing base (bba3211) to head (3111d2c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## testing #414 +/- ## =========================================== - Coverage 93.40% 92.04% -1.37% =========================================== Files 15 15 Lines 3080 3105 +25 =========================================== - Hits 2877 2858 -19 - Misses 203 247 +44 ```

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

abhiTronix commented 4 months ago

@abhisheksuran You can proceed with next file, maybe pigear.py. Makes sure to push commit in this same PR. Goodluck!

welcome[bot] commented 3 months ago

Congrats on merging your first pull request here! :tada: You're awesome! Alt Text