refactor(cinema_planner): fix all ruff violations, add type hints, docstrings, logging

- Replace print() with logging module
- Add type annotations to all functions
- Add Google-style docstrings to all public functions/classes
- Extract magic numbers into named constants
- Break complex functions into smaller helpers
- Use Path.open() instead of open()
- Use contextlib.suppress where appropriate
This commit is contained in:
Krzysztof kuhy Rudnicki 2026-03-13 20:35:21 +01:00
parent cffd445b0b
commit 5cd30db5a2
2 changed files with 490 additions and 263 deletions

View File

@ -1 +1 @@
# Cinema Planner package initialization
"""Cinema Planner - maximize movies watched in a day."""

File diff suppressed because it is too large Load Diff