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 Hinting for Arguments & Returns #471

Open
ashleyshaw opened this issue Jan 9, 2025 · 0 comments
Open

Add Type Hinting for Arguments & Returns #471

ashleyshaw opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
[Type] Code Quality Issues or PRs that relate to code quality & coding standards [Type] Enhancement A suggestion for improvement
Milestone

Comments

@ashleyshaw
Copy link
Member

Description
Implement argument and return type hints in functions and methods to enhance code clarity and prevent type-related errors.

Why This Matters

  • Type hinting helps developers understand expected input/output.
  • Reduces runtime errors and strengthens code maintainability.

Tasks

  1. Audit existing classes and functions for potential type hinting.
  2. Gradually add typed arguments and return statements.
  3. Update or add tests to confirm no new fatal errors occur.
@ashleyshaw ashleyshaw added [Type] Code Quality Issues or PRs that relate to code quality & coding standards [Type] Enhancement A suggestion for improvement labels Jan 9, 2025
@ashleyshaw ashleyshaw added this to the 2.1.0 milestone Jan 9, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Code Quality Issues or PRs that relate to code quality & coding standards [Type] Enhancement A suggestion for improvement
Projects
Status: Needs Triage
Development

No branches or pull requests

2 participants