fix ci #132
Annotations
2 errors
Run tests:
invenio_pidstore/models.py#L1
Black format check
--- /home/runner/work/invenio-pidstore/invenio-pidstore/invenio_pidstore/models.py 2024-04-13 20:36:49.076711+00:00
+++ /home/runner/work/invenio-pidstore/invenio-pidstore/invenio_pidstore/models.py 2024-04-13 20:38:14.613172+00:00
@@ -514,13 +514,15 @@
"""Get representation of object."""
return "<PersistentIdentifier {0}:{1}{3} ({2})>".format(
self.pid_type,
self.pid_value,
self.status,
- " / {0}:{1}".format(self.object_type, self.object_uuid)
- if self.object_type
- else "",
+ (
+ " / {0}:{1}".format(self.object_type, self.object_uuid)
+ if self.object_type
+ else ""
+ ),
)
class Redirect(db.Model, Timestamp):
"""Redirect for a persistent identifier.
|
Run tests
Process completed with exit code 1.
|
Loading