No type hints on function return values #11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
No type hints on function return values
Priority: Low
Component: All
Type: Code Quality
Description
The codebase uses Python 3.6+ but most functions lack type hints, especially for return values. This makes the code harder to understand and prevents static type checking tools from catching bugs.
Examples
Scope
Affects most functions across:
curateipsum/backup.pycurateipsum/fs.pycurateipsum/cli.pyProposed Solution
Add complete type hints to all functions, including imports from
typingmodule where needed.Benefits
Impact
Low - Code quality improvement, doesn't affect runtime behavior.