You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add type hints to all (public API) code make the distribution PEP 561 compliant. This allows mypy (and other tools?) to find the type hints and use them in linting.
In practice, add py.typed file to statsd package, and include it in the package:
setup(
package_data={'statsd': ['py.typed']},
zip_safe=False, # not needed with wheels, AFAIK
)
I want to give it a try but with dropping support for Python 2.7. Writing all type annotations as stubs or comments is a bit painful and hard to maintain.
…l#146)
* Implemented get_variable_type on the repository
* Fetching variable type in the user input node execution
* Added test to check for email validation
* Validating email addresses
* Raise an error if the reprompt is not needed but not defined
* Show the cancel quick reply
* Renaming the agent handover failure quick replies logic into a more generic name
* Add Cancel QR texts in all languages
* Do not show the cancel quick reply if the targeted use case is not published
* Upgrade requirements
Add type hints to all (public API) code make the distribution PEP 561 compliant. This allows
mypy
(and other tools?) to find the type hints and use them in linting.In practice, add
py.typed
file tostatsd
package, and include it in the package:PEP 561: https://www.python.org/dev/peps/pep-0561/
The text was updated successfully, but these errors were encountered: