Skip to content

jobs: register RoR affiliation job #1545

jobs: register RoR affiliation job

jobs: register RoR affiliation job #1545

Triggered via pull request September 27, 2024 14:32
Status Failure
Total duration 6m 35s
Artifacts

tests.yml

on: pull_request
Matrix: JS / Tests
Matrix: Python / Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
isort-check """Jobs module.""" import datetime +from datetime import timezone +from invenio_i18n import gettext as _ from invenio_jobs.jobs import JobType +from marshmallow import Schema, fields +from marshmallow_utils.fields import TZDateTime from invenio_vocabularies.services.tasks import process_datastream -from marshmallow import Schema, fields -from marshmallow_utils.fields import TZDateTime -from datetime import timezone -from invenio_i18n import gettext as _ class ArgsSchema(Schema):
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py 2024-09-27 14:32:51.794635+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py 2024-09-27 14:37:51.371005+00:00 @@ -23,12 +23,13 @@ since = TZDateTime( timezone=timezone.utc, format="iso", metadata={ - "description": - _("YYYY-MM-DD HH:mm format. Leave field empty if it should continue since last successful run") + "description": _( + "YYYY-MM-DD HH:mm format. Leave field empty if it should continue since last successful run" + ) }, ) job_arg_schema = fields.String( metadata={"type": "hidden"}, dump_default="ArgsSchema",
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:22 in public class `ArgsSchema`: D101: Missing docstring in public class /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:39 in public class `ProcessDataStreamJob`: D101: Missing docstring in public class /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:54 in public method `default_args`: D102: Missing docstring in public method
Python / Tests (3.9, postgresql14, opensearch2): invenio_vocabularies/contrib/common/ror/datastreams.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D205: 1 blank line required between summary line and description (found 0) /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D400: First line should end with a period (not 'y') /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:63 in public method `read`: D205: 1 blank line required between summary line and description (found 0) /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:63 in public method `read`: D400: First line should end with a period (not 'm')
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
isort-check """Jobs module.""" import datetime +from datetime import timezone +from invenio_i18n import gettext as _ from invenio_jobs.jobs import JobType +from marshmallow import Schema, fields +from marshmallow_utils.fields import TZDateTime from invenio_vocabularies.services.tasks import process_datastream -from marshmallow import Schema, fields -from marshmallow_utils.fields import TZDateTime -from datetime import timezone -from invenio_i18n import gettext as _ class ArgsSchema(Schema):
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py 2024-09-27 14:32:50.530436+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py 2024-09-27 14:38:15.288755+00:00 @@ -23,12 +23,13 @@ since = TZDateTime( timezone=timezone.utc, format="iso", metadata={ - "description": - _("YYYY-MM-DD HH:mm format. Leave field empty if it should continue since last successful run") + "description": _( + "YYYY-MM-DD HH:mm format. Leave field empty if it should continue since last successful run" + ) }, ) job_arg_schema = fields.String( metadata={"type": "hidden"}, dump_default="ArgsSchema",
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/jobs.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:22 in public class `ArgsSchema`: D101: Missing docstring in public class /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:39 in public class `ProcessDataStreamJob`: D101: Missing docstring in public class /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/jobs.py:54 in public method `default_args`: D102: Missing docstring in public method
Python / Tests (3.12, postgresql14, opensearch2): invenio_vocabularies/contrib/common/ror/datastreams.py#L1
pydocstyle-check /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D205: 1 blank line required between summary line and description (found 0) /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D400: First line should end with a period (not 'y') /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:63 in public method `read`: D205: 1 blank line required between summary line and description (found 0) /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:63 in public method `read`: D400: First line should end with a period (not 'm')
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.