-
Notifications
You must be signed in to change notification settings - Fork 27
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 logger type annotations for GUI checks #491
Comments
MJJoyce
added a commit
that referenced
this issue
Jan 19, 2023
Add minor type annotations in log.py to keep type checking happing in AIT-GUI. Resolve #491
MJJoyce
added a commit
that referenced
this issue
Jan 24, 2023
Add minor type annotations in log.py to keep type checking happy in AIT-GUI. Resolve #491
MJJoyce
added a commit
that referenced
this issue
Jan 24, 2023
Shift the `log.py` logger globals to the beginning of the file to avoid a Python bug that causes spurious "annotated name can't be global" errors when mypy lints the files. See here for the issue report: https://bugs.python.org/issue34939 Clarification on the ticket marks this as a bug and a fix was added. This avoids the error in Python 3.7.
MJJoyce
added a commit
that referenced
this issue
Jan 24, 2023
Add minor type annotations in log.py to keep type checking happy in AIT-GUI. Resolve #491
MJJoyce
added a commit
that referenced
this issue
Jan 24, 2023
Shift the `log.py` logger globals to the beginning of the file to avoid a Python bug that causes spurious "annotated name can't be global" errors when mypy lints the files. See here for the issue report: https://bugs.python.org/issue34939 Clarification on the ticket marks this as a bug and a fix was added. This avoids the error in Python 3.7.
MJJoyce
added a commit
that referenced
this issue
Jan 24, 2023
Issue #491 - Add logger type annotations for GUI mypy checks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When making updates for NASA-AMMOS/AIT-GUI#241 I needed to add a few type annotations to
log.py
globals to keepmypy
happy.The text was updated successfully, but these errors were encountered: