Skip to content

Add type hints - #3

Open
tomodachi94 wants to merge 1 commit into
tawhidii:masterfrom
tomodachi94:type-hints
Open

Add type hints#3
tomodachi94 wants to merge 1 commit into
tawhidii:masterfrom
tomodachi94:type-hints

Conversation

@tomodachi94

Copy link
Copy Markdown

Type hints are very helpful for people who use your code.

https://realpython.com/ref/glossary/type-hint/

The py.typed file is necessary to let type checkers like mypy know that the package has its own types:
https://peps.python.org/pep-0561/#packaging-type-information

Testing this PR

Install mypy using pip install mypy. Checkout this PR and then run mypy --strict -p ezgiphy.

Type hints are very helpful for people who use your code.

https://realpython.com/ref/glossary/type-hint/

The `py.typed` file is necessary to let type checkers like `mypy`
know that the package has its own types:
https://peps.python.org/pep-0561/#packaging-type-information
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