request: add subcommunity invitation request #3134
Annotations
12 errors and 16 warnings
Tests (3.11, postgresql14, opensearch2):
invenio_communities/subcommunities/services/__init__.py#L1
isort-check
"""Subcommunities module service."""
from .config import SubCommunityServiceConfig
+from .request import SubCommunityInvitationRequest
from .service import SubCommunityService
-from .request import SubCommunityInvitationRequest
__all__ = (
"SubCommunityService",
|
Tests (3.11, postgresql14, opensearch2):
invenio_communities/subcommunities/services/request.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:42:03.668439+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:44:19.588946+00:00
@@ -130,6 +130,8 @@
It must return a class that inherits from `RequestType`.
"""
if not app:
return
- return app.config.get("COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest)
+ return app.config.get(
+ "COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest
+ )
|
Tests (3.11, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.9, postgresql14, opensearch2):
invenio_communities/subcommunities/services/__init__.py#L1
isort-check
"""Subcommunities module service."""
from .config import SubCommunityServiceConfig
+from .request import SubCommunityInvitationRequest
from .service import SubCommunityService
-from .request import SubCommunityInvitationRequest
__all__ = (
"SubCommunityService",
|
Tests (3.9, postgresql14, opensearch2):
invenio_communities/subcommunities/services/request.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:42:04.491806+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:44:29.661822+00:00
@@ -130,6 +130,8 @@
It must return a class that inherits from `RequestType`.
"""
if not app:
return
- return app.config.get("COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest)
+ return app.config.get(
+ "COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest
+ )
|
Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.10, postgresql14, opensearch2):
invenio_communities/subcommunities/services/__init__.py#L1
isort-check
"""Subcommunities module service."""
from .config import SubCommunityServiceConfig
+from .request import SubCommunityInvitationRequest
from .service import SubCommunityService
-from .request import SubCommunityInvitationRequest
__all__ = (
"SubCommunityService",
|
Tests (3.10, postgresql14, opensearch2):
invenio_communities/subcommunities/services/request.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:42:05.164945+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:44:32.905641+00:00
@@ -130,6 +130,8 @@
It must return a class that inherits from `RequestType`.
"""
if not app:
return
- return app.config.get("COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest)
+ return app.config.get(
+ "COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest
+ )
|
Tests (3.10, postgresql14, opensearch2)
Process completed with exit code 1.
|
Tests (3.12, postgresql14, opensearch2):
invenio_communities/subcommunities/services/__init__.py#L1
isort-check
"""Subcommunities module service."""
from .config import SubCommunityServiceConfig
+from .request import SubCommunityInvitationRequest
from .service import SubCommunityService
-from .request import SubCommunityInvitationRequest
__all__ = (
"SubCommunityService",
|
Tests (3.12, postgresql14, opensearch2):
invenio_communities/subcommunities/services/request.py#L1
Black format check
--- /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:42:05.591955+00:00
+++ /home/runner/work/invenio-communities/invenio-communities/invenio_communities/subcommunities/services/request.py 2024-11-20 10:45:16.799765+00:00
@@ -130,6 +130,8 @@
It must return a class that inherits from `RequestType`.
"""
if not app:
return
- return app.config.get("COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest)
+ return app.config.get(
+ "COMMUNITIES_SUB_INVITATION_REQUEST_CLS", SubCommunityInvitationRequest
+ )
|
Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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.11, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/subcommunity/new.js#L148
Array.prototype.map() expects a return value from arrow function
|
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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.9, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/subcommunity/new.js#L148
Array.prototype.map() expects a return value from arrow function
|
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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.10, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/subcommunity/new.js#L148
Array.prototype.map() expects a return value from arrow function
|
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)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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
|
Tests (3.12, postgresql14, opensearch2):
invenio_communities/assets/semantic-ui/js/invenio_communities/subcommunity/new.js#L148
Array.prototype.map() expects a return value from arrow function
|