-
Notifications
You must be signed in to change notification settings - Fork 63
Type Annotations #286
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
base: ec2-new-implementation
Are you sure you want to change the base?
Type Annotations #286
Conversation
…e assigned attribute), improving logging surrounding retries and giving up
…preallocator (do note that my initial worry about incorrectness was unfounded due to weird Redis sharing behavior)
…else preVM.name will fail)
…y --check-untyped-defs suggestions
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis PR introduces comprehensive Python 3 type annotations across the codebase while refactoring core data structures and abstractions. Changes include formalization of the VMMS interface, introduction of Redis-backed queue and dictionary abstractions, type-safe encapsulation of job and machine objects, and updates to dependencies (boto3, mypy, type stubs). The refactoring maintains backward compatibility while enabling stricter static type checking. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Areas requiring extra attention:
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #185 .
You can now just run
mypy .in /opt/TangoService/Tango to check for any type errors.Changes