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
Type hints in python serve as a hint to the integrated development environment (IDE) which type a function parameter or variable can have and makes it then easier for developers to figure out how this variable can be used. Functions should also receive return type annotations to indicate what is actually returned by the function.
Detailed description of type hints in python and how they can be validated is available here.
Files in which to add functions:
analysis/Python_scripts/utils.py
analysis/Python_scripts/plotting.py
codes/extract_coords_into_inp_xyz.py
codes/write_dirs_files_for_gamess_qcxms.py
The text was updated successfully, but these errors were encountered:
hechth
changed the title
Add type hints to functions
Add type hints to functions in python scripts
Nov 14, 2023
Type hints in python serve as a hint to the integrated development environment (IDE) which type a function parameter or variable can have and makes it then easier for developers to figure out how this variable can be used. Functions should also receive return type annotations to indicate what is actually returned by the function.
Detailed description of type hints in python and how they can be validated is available here.
Files in which to add functions:
The text was updated successfully, but these errors were encountered: