-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fix mypy checking #472
base: master
Are you sure you want to change the base?
Fix mypy checking #472
Conversation
mypy is a static analyzer for Python using the Python3 typehints as meta data. See the below link for more information: - https://mypy.readthedocs.io/en/stable/index.html Signed-off-by: William Roberts <[email protected]>
Signed-off-by: William Roberts <[email protected]>
Fixes: test/test_fapi.py:84: error: Incompatible types in assignment (expression has type "bytes", variable has type "Hash") test/test_fapi.py:85: error: Incompatible return value type (got "Hash", expected "bytes") Signed-off-by: William Roberts <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
==========================================
- Coverage 88.17% 88.16% -0.01%
==========================================
Files 18 18
Lines 6630 6627 -3
Branches 972 972
==========================================
- Hits 5846 5843 -3
Misses 639 639
Partials 145 145
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Drop the nuclear option of --ignore-missing-imports and add a more targeted approach to ignoring libraries without type information. This just makes sure that tpm2-pytss internal modules themselves don't accidentally get ignored. Signed-off-by: William Roberts <[email protected]>
Signed-off-by: William Roberts <[email protected]>
Signed-off-by: William Roberts <[email protected]>
This pull request introduces 2 alerts when merging ba081d5 into 8014ee9 - view on LGTM.com new alerts:
Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. It looks like GitHub code scanning with CodeQL is already set up for this repo, so no further action is needed 🚀. For more information, please check out our post on the GitHub blog. |
ba081d5
to
b6e4694
Compare
Signed-off-by: William Roberts <[email protected]>
b6e4694
to
336aa16
Compare
No description provided.