You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on using cyclonedx-python-lib to generate SBOMs within pip-audit.
Our codebase is fully typechecked (via MyPy), and it looks like this library is too! But we can't currently consume your type hints, since the cyclonedx package doesn't include a py.typed file per PEP 561.
Is there any objection to including that file, so that downstream users can typecheck their API use? If not, I can go ahead and create a PR -- it should be just a 2 or 3 line change.
Activity
jkowalleck commentedon Nov 9, 2021
thanks you very much for the hint, @woodruffw 👍
we are currently working on this issue.
woodruffw commentedon Nov 9, 2021
Awesome, thanks a ton! Let me know if I can help with testing or anything else.
jkowalleck commentedon Nov 10, 2021
@woodruffw the release v0.11.0 included PEP 561 compatibility.
Could you see if it suites your needs?
woodruffw commentedon Nov 10, 2021
Thanks! I'll test them now.
woodruffw commentedon Nov 10, 2021
Looks like the type hints are working! Thanks a ton for adding them so quickly. The only outstanding issues preventing me from using them are in #61.
madpah commentedon Nov 10, 2021
Great news @woodruffw - #61 is merged now and building - point release expected shortly.