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

Make type checkers aware of type annotations #35

Conversation

jugmac00
Copy link
Member

@jugmac00 jugmac00 commented Nov 12, 2021

See https://jugmac00.github.io/blog/bite-my-shiny-type-annotated-library/

  • Have you signed the CLA?

No, this is not necessary as I am an employee of Canonical.

Background

We intend to use this package for a Launchpad project.

Our mypy check failed as craft-cli does not include a py.typed file.

Also see
https://jugmac00.github.io/blog/bite-my-shiny-type-annotated-library/

Copy link
Contributor

@facundobatista facundobatista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks!

@facundobatista facundobatista merged commit c172fa0 into canonical:main Nov 16, 2021
jugmac00 pushed a commit to jugmac00/lpcraft that referenced this pull request Jan 7, 2022
@jugmac00 jugmac00 deleted the make-type-checkers-aware-of-type-annotations branch February 15, 2022 16:32
tigarmo pushed a commit that referenced this pull request Jun 6, 2023
…#35)

.direnv, .venv, venv, and .vscode are now skipped.

Signed-off-by: Callahan Kovacs <callahankovacs@gmail.com>
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