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 type hints to hatch/config #674

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

castalheiro
Copy link
Contributor

@ischaojie
Copy link
Contributor

ischaojie commented Dec 27, 2022

You can add config in pyproject.toml to test your type-hints:

hatch/pyproject.toml

Lines 160 to 164 in 62a1ff0

[[tool.mypy.overrides]]
module = [
"*.hatchling.*",
"*.hatch.utils.*",
]

For example:

module = [ 
     "hatch.config.*",
 ] 

@webknjaz

This comment was marked as resolved.

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.

None yet

4 participants