moderation: added rules for content moderation #2183
Annotations
4 errors
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/moderation/ext.py#L1
pydocstyle-check
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/ext.py:1 at module level:
D100: Missing docstring in public module
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/ext.py:30 in public class `DomainTree`:
D101: Missing docstring in public class
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/ext.py:31 in public method `__init__`:
D107: Missing docstring in __init__
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/ext.py:48 in public method `get_status`:
D400: First line should end with a period (not 'n')
|
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/moderation/handlers.py#L1
pydocstyle-check
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:1 at module level:
D100: Missing docstring in public module
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:5 in public class `BaseScoreHandler`:
D101: Missing docstring in public class
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:6 in public method `__init__`:
D107: Missing docstring in __init__
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:9 in public method `run`:
D102: Missing docstring in public method
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:20 in public class `RecordScoreHandler`:
D101: Missing docstring in public class
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:21 in public method `__init__`:
D107: Missing docstring in __init__
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:24 in public method `publish`:
D102: Missing docstring in public method
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:31 in public class `CommunityScoreHandler`:
D101: Missing docstring in public class
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:32 in public method `__init__`:
D107: Missing docstring in __init__
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:35 in public method `update`:
D102: Missing docstring in public method
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/handlers.py:41 in public method `create`:
D102: Missing docstring in public method
|
Python (site, 3.9, postgresql14, opensearch2):
site/zenodo_rdm/moderation/rules.py#L1
pydocstyle-check
/home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/moderation/rules.py:1 at module level:
D100: Missing docstring in public module
|
Python (site, 3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|