Skip to content

Job registry

Job registry #210

Triggered via pull request September 17, 2024 14:13
Status Failure
Total duration 2m 30s
Artifacts

tests.yml

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

Annotations

6 errors
Tests / Tests (3.9, postgresql14, opensearch2): invenio_jobs/services/results.py#L1
Black format check --- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py 2024-09-17 14:13:31.011134+00:00 +++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py 2024-09-17 14:15:31.199589+00:00 @@ -24,10 +24,11 @@ from flask_sqlalchemy.pagination import Pagination class AttrDict(dict): """Helper class to fake API layer.""" + def __init__(self, *args, **kwargs): """Constructor.""" super(AttrDict, self).__init__(*args, **kwargs) self.__dict__ = self
Tests / Tests (3.9, postgresql14, opensearch2): invenio_jobs/services/results.py#L1
pydocstyle-check /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py:28 in public class `AttrDict`: D204: 1 blank line required after class docstring (found 0)
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2): invenio_jobs/services/results.py#L1
Black format check --- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py 2024-09-17 14:13:32.783853+00:00 +++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py 2024-09-17 14:15:43.570419+00:00 @@ -24,10 +24,11 @@ from flask_sqlalchemy.pagination import Pagination class AttrDict(dict): """Helper class to fake API layer.""" + def __init__(self, *args, **kwargs): """Constructor.""" super(AttrDict, self).__init__(*args, **kwargs) self.__dict__ = self
Tests / Tests (3.12, postgresql14, opensearch2): invenio_jobs/services/results.py#L1
pydocstyle-check /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/services/results.py:28 in public class `AttrDict`: D204: 1 blank line required after class docstring (found 0)
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.