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 a mypy stub #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ivan-Kouznetsov
Copy link

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

codecov bot commented May 12, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@33aac8a). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #62   +/-   ##
=========================================
  Coverage          ?   96.80%           
=========================================
  Files             ?        2           
  Lines             ?      125           
  Branches          ?        0           
=========================================
  Hits              ?      121           
  Misses            ?        4           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33aac8a...c8d636b. Read the comment docs.

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