cfe-lab / MiCall

Pipeline for processing FASTQ data from an Illumina MiSeq to genotype human RNA viruses like HIV and hepatitis C
https://cfe-lab.github.io/MiCall
GNU Affero General Public License v3.0
14 stars 9 forks source link

Mypy Integration and Type Annotations Enhancement #1035

Closed Donaim closed 8 months ago

Donaim commented 1 year ago

This commit introduces Mypy type checking in the CI workflow to enhance code quality and robustness. Type annotations are added to consensus_aligner.py, report_amino.py, and project_config.py. A .mypy.ini file is added for Mypy configuration and relevant dependencies are included in requirements-dev.txt. The changes aim to catch type-related errors early and maintain clear function interfaces.

codecov[bot] commented 1 year ago

Codecov Report

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

Project coverage is 88.07%. Comparing base (83cfe3c) to head (1b8b30b).

:exclamation: Current head 1b8b30b differs from pull request most recent head 4b0fea6. Consider uploading reports for the commit 4b0fea6 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1035 +/- ## ======================================= Coverage 88.07% 88.07% ======================================= Files 29 29 Lines 7153 7155 +2 ======================================= + Hits 6300 6302 +2 Misses 853 853 ```

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