-
Notifications
You must be signed in to change notification settings - Fork 61
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
Type annotations #194
Type annotations #194
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @CCCodes, thanks for your PR!
I noticed that there are some changes unrelated to type annotations in the PR, would it be possible to only isolate the changes for type annotation as I assume that that is the intent of your PR?
In addition, there are also env/*
files as well as pyenv.cfg being committed in this repo, which is not necessary. Could those be removed as well?
After that I will take a close look at the type annotations again. Thanks!
Thanks, I made a new pull request with the changes! |
Fixes #185.
Changes proposed in this PR:
Add type annotations for
jobManager.py
jobQueue.py
tangoObjects.py
worker.py
(Branched from tests)
Some type annotations are best guesses because it was hard to determine exactly what types were acceptable. I ran all unittests and new sampleTest on it and got the same results with / and without the annotations, so there were no problems in those cases.