Skip to content

Add a mypy stub#62

Open
Ivan-Kouznetsov wants to merge 1 commit into
akshaynagpal:masterfrom
Ivan-Kouznetsov:patch-1
Open

Add a mypy stub#62
Ivan-Kouznetsov wants to merge 1 commit into
akshaynagpal:masterfrom
Ivan-Kouznetsov:patch-1

Conversation

@Ivan-Kouznetsov
Copy link
Copy Markdown

A mypy compatible stub file as per https://mypy.readthedocs.io/en/stable/stubs.html, using types annotations that mirror the comments in w2n.py.

This is needed to use this library in a project that uses mypy, otherwise the following error will be returned by mypy:
error: Skipping analyzing 'word2number': found module but no type hints or library stubs

A mypy compatible stub file as per https://mypy.readthedocs.io/en/stable/stubs.html. Types annotations mirror the comments in w2n.py
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2021

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

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.

1 participant