Bump py-cov-action/python-coverage-comment-action from 3.40 to 3.41 (… #31
Annotations
6 warnings and 9 notices
|
ty (deprecated):
src/validationCollater.py#L137
src/validationCollater.py:137:23: deprecated: The class `FileType` is deprecated: Deprecated since Python 3.14. Open files after parsing arguments instead.
info: rule `deprecated` is enabled by default
|
|
ty (deprecated):
src/ttmlValidator.py#L195
src/ttmlValidator.py:195:23: deprecated: The class `FileType` is deprecated: Deprecated since Python 3.14. Open files after parsing arguments instead.
info: rule `deprecated` is enabled by default
|
|
ty (deprecated):
src/ttmlValidator.py#L189
src/ttmlValidator.py:189:23: deprecated: The class `FileType` is deprecated: Deprecated since Python 3.14. Open files after parsing arguments instead.
info: rule `deprecated` is enabled by default
|
|
ty (invalid-argument-type):
src/schemas/daptSchema.py#L18
src/schemas/daptSchema.py:18:5: invalid-argument-type: Argument to bound method `__init__` is incorrect: Expected `ElementProtocol | ElementTree[Element[Unknown] | None] | DocumentProtocol | ... omitted 7 union elements`, found `list[str]`
.venv/lib/python3.14/site-packages/xmlschema/validators/schemas.py:273:9: info: Method defined here
.venv/lib/python3.14/site-packages/xmlschema/validators/schemas.py:273:24: Parameter declared here
info: rule `invalid-argument-type` was selected in the configuration file
|
|
ty (invalid-argument-type):
src/constraintSets/daptConstraints.py#L128
src/constraintSets/daptConstraints.py:128:13: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `duplicateXmlIdCheck | Pruner | xsdValidator | ... omitted 11 union elements`, found `daptTimingCheck`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: Union variant `bound method list[duplicateXmlIdCheck | Pruner | xsdValidator | ... omitted 11 union elements].append(object: duplicateXmlIdCheck | Pruner | xsdValidator | ... omitted 11 union elements, /) -> None` is incompatible with this call site
info: Attempted to call union type `Unknown | (bound method list[duplicateXmlIdCheck | Pruner | xsdValidator | ... omitted 11 union elements].append(object: duplicateXmlIdCheck | Pruner | xsdValidator | ... omitted 11 union elements, /) -> None)`
info: rule `invalid-argument-type` was selected in the configuration file
|
|
ty (invalid-argument-type):
src/constraintSets/bbcConstraints.py#L93
src/constraintSets/bbcConstraints.py:93:13: invalid-argument-type: Argument to bound method `append` is incorrect: Expected `unqualifiedIdAttributeCheck | xsdValidator | duplicateXmlIdCheck | ... omitted 10 union elements`, found `bbcTimingCheck`
stdlib/builtins.pyi:2843:9: info: Method defined here
stdlib/builtins.pyi:2843:22: Parameter declared here
info: Union variant `bound method list[unqualifiedIdAttributeCheck | xsdValidator | duplicateXmlIdCheck | ... omitted 10 union elements].append(object: unqualifiedIdAttributeCheck | xsdValidator | duplicateXmlIdCheck | ... omitted 10 union elements, /) -> None` is incompatible with this call site
info: Attempted to call union type `Unknown | (bound method list[unqualifiedIdAttributeCheck | xsdValidator | duplicateXmlIdCheck | ... omitted 10 union elements].append(object: unqualifiedIdAttributeCheck | xsdValidator | duplicateXmlIdCheck | ... omitted 10 union elements, /) -> None)`
info: rule `invalid-argument-type` was selected in the configuration file
|
|
test
Ending action
|
|
test
You can browse the full coverage report at:
https://htmlpreview.github.io/?https://github.com/bbc/ttml-validator/blob/python-coverage-comment-action-data/htmlcov/index.html
You can use the following URLs to display your badge:
- Badge SVG available at:
https://raw.githubusercontent.com/bbc/ttml-validator/python-coverage-comment-action-data/badge.svg
- Badge from shields endpoint is easier to customize but doesn't work with private repo:
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/bbc/ttml-validator/python-coverage-comment-action-data/endpoint.json
- Badge from shields dynamic url (less useful but you never know):
https://img.shields.io/badge/dynamic/json?color=brightgreen&label=coverage&query=%24.message&url=https%3A%2F%2Fraw.githubusercontent.com%2Fbbc%2Fttml-validator%2Fpython-coverage-comment-action-data%2Fendpoint.json
See more details and ready-to-copy-paste-markdown at:
https://github.com/bbc/ttml-validator/tree/python-coverage-comment-action-data
|
|
test
Files saved
|
|
test
Saving coverage files
|
|
test
Generating HTML coverage report
|
|
test
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=97%25&color=orange "HTTP/1.1 200 OK"
|
|
test
Computing coverage files & badge
|
|
test
HTTP Request: GET https://api.github.com/repos/bbc/ttml-validator "HTTP/1.1 200 OK"
|
|
test
Starting action
|