Conversation
To indicates that this package supports typing. This will silent linter warning of "import-untyped" when importing spdx_python_model. More about py.typed https://peps.python.org/pep-0561/ Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Not a standard classifier. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
|
I do not fully agree with this change. There is a lot of information missing. The proper solution would be to provide a generated |
|
@benjarobin for pyi stub, see JPEWdev/shacl2code#74 |
|
We need BOTH the .pyi stub and the py.typed marker btw. According to Python typing guide
So we need these changes:
In that order (or maybe not in that exact order; but 2 must be after 1, and 3, 4, 5 must be after 2 and before 6). |
Oh, I see, sorry about that. I was persuaded this was not necessary if the package provided stub files.
Thank you so much for working on that part ! I did not see it. I would have saved a lot of time when developing sbom-cve-check. Again thank you! But maybe you should "merge" this pull request with #18 |
To indicates that this package supports typing.
This will silent linter warning of "import-untyped" when importing spdx_python_model.
More about py.typed marker
https://peps.python.org/pep-0561/