Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add full typing support #3

Merged
merged 27 commits into from
Nov 5, 2024
Merged

Add full typing support #3

merged 27 commits into from
Nov 5, 2024

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Oct 19, 2024

This will be the first release of our Coqpit fork. It's a relatively large PR because I added full typing support checked with mypy --strict and enabled almost all ruff linter rules. This required some minor changes in functionality so that everything is consistent, but they shouldn't have an effect on Trainer or TTS. Test coverage for Coqpit is also very high.

In any case, releasing this now is fine because TTS and Trainer need to be manually switched to this fork at a later stage, but I already checked that the Trainer and TTS test suites pass in idiap/coqui-ai-Trainer#10 and idiap/coqui-ai-TTS#110

Mostly NoneType and UnionType are only available from 3.10
@eginhard eginhard marked this pull request as ready for review October 21, 2024 08:03
@eginhard eginhard merged commit 96420e8 into main Nov 5, 2024
7 checks passed
@eginhard eginhard deleted the types branch November 5, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants