Skip to content

jobs: register RoR affiliation job #1546

jobs: register RoR affiliation job

jobs: register RoR affiliation job #1546

Triggered via pull request September 27, 2024 17:46
Status Failure
Total duration 6m 26s
Artifacts

tests.yml

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

Annotations

8 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/contrib/common/ror/datastreams.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py 2024-09-27 17:46:36.756339+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py 2024-09-27 17:51:29.376589+00:00 @@ -19,14 +19,14 @@ from invenio_vocabularies.datastreams.readers import BaseReader from invenio_vocabularies.datastreams.transformers import BaseTransformer class RORHTTPReader(BaseReader): - """ ROR HTTP Reader. - - Returning an in-memory - binary stream of the latest ROR data dump ZIP file. + """ROR HTTP Reader. + + Returning an in-memory + binary stream of the latest ROR data dump ZIP file. """ def __init__(self, origin=None, mode="r", since=None, *args, **kwargs): """Constructor.""" self._since = since @@ -63,12 +63,12 @@ ) def read(self, item=None, *args, **kwargs): """Reads the latest ROR data dump. - Read from ZIP file from - Zenodo and yields an in-memory binary stream of it. + Read from ZIP file from + Zenodo and yields an in-memory binary stream of it. """ if item: raise NotImplementedError( "RORHTTPReader does not support being chained after another reader" )
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`: D208: Docstring is over-indented /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D210: No whitespaces allowed surrounding docstring text /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:66 in public method `read`: D208: Docstring is over-indented
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/contrib/common/ror/datastreams.py#L1
Black format check --- /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py 2024-09-27 17:46:35.901167+00:00 +++ /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py 2024-09-27 17:52:07.742372+00:00 @@ -19,14 +19,14 @@ from invenio_vocabularies.datastreams.readers import BaseReader from invenio_vocabularies.datastreams.transformers import BaseTransformer class RORHTTPReader(BaseReader): - """ ROR HTTP Reader. - - Returning an in-memory - binary stream of the latest ROR data dump ZIP file. + """ROR HTTP Reader. + + Returning an in-memory + binary stream of the latest ROR data dump ZIP file. """ def __init__(self, origin=None, mode="r", since=None, *args, **kwargs): """Constructor.""" self._since = since @@ -63,12 +63,12 @@ ) def read(self, item=None, *args, **kwargs): """Reads the latest ROR data dump. - Read from ZIP file from - Zenodo and yields an in-memory binary stream of it. + Read from ZIP file from + Zenodo and yields an in-memory binary stream of it. """ if item: raise NotImplementedError( "RORHTTPReader does not support being chained after another reader" )
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`: D208: Docstring is over-indented /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:24 in public class `RORHTTPReader`: D210: No whitespaces allowed surrounding docstring text /home/runner/work/invenio-vocabularies/invenio-vocabularies/invenio_vocabularies/contrib/common/ror/datastreams.py:66 in public method `read`: D208: Docstring is over-indented
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.