EntilZha / PyFunctional

Python library for creating data pipelines with chain functional programming
http://pyfunctional.pedro.ai
MIT License
2.41k stars 132 forks source link

Add mypy auto check and fix easy errors #194

Closed EntilZha closed 1 year ago

EntilZha commented 1 year ago

Add mypy auto check and fix easy errors

Summary:

Add mypy automated check and fix any of the easy errors that don't result in functional changes

Test Plan:

Run mypy functional

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (0a03ee9) 98.12% compared to head (2d74a3d) 98.12%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #194 +/- ## ======================================= Coverage 98.12% 98.12% ======================================= Files 12 12 Lines 2349 2350 +1 ======================================= + Hits 2305 2306 +1 Misses 44 44 ``` | [Files](https://app.codecov.io/gh/EntilZha/PyFunctional/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pedro+Rodriguez) | Coverage Δ | | |---|---|---| | [functional/io.py](https://app.codecov.io/gh/EntilZha/PyFunctional/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pedro+Rodriguez#diff-ZnVuY3Rpb25hbC9pby5weQ==) | `100.00% <100.00%> (ø)` | | | [functional/pipeline.py](https://app.codecov.io/gh/EntilZha/PyFunctional/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pedro+Rodriguez#diff-ZnVuY3Rpb25hbC9waXBlbGluZS5weQ==) | `98.29% <100.00%> (ø)` | | | [functional/util.py](https://app.codecov.io/gh/EntilZha/PyFunctional/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Pedro+Rodriguez#diff-ZnVuY3Rpb25hbC91dGlsLnB5) | `98.27% <100.00%> (+0.03%)` | :arrow_up: |

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