We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
👋 Hey, we're planning to use varname in https://github.com/argoproj-labs/hera to extract python variable names to use in yaml output.
varname
I was trying it out but get this error when linting with mypy
mypy
$ poetry run mypy -p hera src/hera/workflows/_meta_mixins.py:15: error: Skipping analyzing "varname": module is installed, but missing library stubs or py.typed marker [import-untyped] src/hera/workflows/_meta_mixins.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Found 1 error in 1 file (checked 124 source files)
I think all you need is a py.typed file in the varname package - https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages - as you have type hints throughout the codebase already! 🚀 cc @flaviuvadan @samj1912
py.typed
The text was updated successfully, but these errors were encountered:
Mind submitting a PR?
Sorry, something went wrong.
Create py.typed for mypy compatibility
6c70287
Fixes pwwang#108
Create py.typed for mypy compatibility (#109)
306992c
* Create py.typed for mypy compatibility Fixes #108 * Add to contributors Signed-off-by: Elliot Gunton <elliotgunton@gmail.com> --------- Signed-off-by: Elliot Gunton <elliotgunton@gmail.com>
Successfully merging a pull request may close this issue.
👋 Hey, we're planning to use
varname
in https://github.com/argoproj-labs/hera to extract python variable names to use in yaml output.I was trying it out but get this error when linting with
mypy
I think all you need is a
py.typed
file in thevarname
package - https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages - as you have type hints throughout the codebase already! 🚀 cc @flaviuvadan @samj1912The text was updated successfully, but these errors were encountered: