subcommunities: check for parent children allow #2841
Annotations
8 errors and 12 warnings
Tests (3.10, postgresql14, opensearch2):
invenio_communities/subcommunities/services/errors.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:23:15.385465+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:25:44.388722+00:00
@@ -4,10 +4,12 @@
#
# Invenio-communities is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""Subcommunities service errors."""
+
class SubCommunityError(Exception):
"""Base error for subcommunities service."""
+
class ParentChildrenNotAllowed(SubCommunityError):
"""Parent community does not accept subcommunities."""
|
Tests (3.10, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.9, postgresql14, opensearch2):
invenio_communities/subcommunities/services/errors.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:23:17.588889+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:25:42.959523+00:00
@@ -4,10 +4,12 @@
#
# Invenio-communities is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""Subcommunities service errors."""
+
class SubCommunityError(Exception):
"""Base error for subcommunities service."""
+
class ParentChildrenNotAllowed(SubCommunityError):
"""Parent community does not accept subcommunities."""
|
Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.11, postgresql14, opensearch2):
invenio_communities/subcommunities/services/errors.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:23:15.285052+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:26:06.047344+00:00
@@ -4,10 +4,12 @@
#
# Invenio-communities is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""Subcommunities service errors."""
+
class SubCommunityError(Exception):
"""Base error for subcommunities service."""
+
class ParentChildrenNotAllowed(SubCommunityError):
"""Parent community does not accept subcommunities."""
|
Tests (3.11, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.12, postgresql14, opensearch2):
invenio_communities/subcommunities/services/errors.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:23:15.531343+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/errors.py 2024-06-27 16:26:15.519762+00:00
@@ -4,10 +4,12 @@
#
# Invenio-communities is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.
"""Subcommunities service errors."""
+
class SubCommunityError(Exception):
"""Base error for subcommunities service."""
+
class ParentChildrenNotAllowed(SubCommunityError):
"""Parent community does not accept subcommunities."""
|
Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.10, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (3.10, postgresql14, opensearch2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests (3.10, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/administration/components/RecordResourceActions.js#L95
Array.prototype.map() expects a value to be returned at the end of arrow function
|
Tests (3.9, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (3.9, postgresql14, opensearch2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests (3.9, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/administration/components/RecordResourceActions.js#L95
Array.prototype.map() expects a value to be returned at the end of arrow function
|
Tests (3.11, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (3.11, postgresql14, opensearch2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests (3.11, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/administration/components/RecordResourceActions.js#L95
Array.prototype.map() expects a value to be returned at the end of arrow function
|
Tests (3.12, postgresql14, opensearch2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (3.12, postgresql14, opensearch2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests (3.12, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/administration/components/RecordResourceActions.js#L95
Array.prototype.map() expects a value to be returned at the end of arrow function
|