File tree Expand file tree Collapse file tree
src/hermes_plugin_software_card Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - name : Print Python version
2121 run : python -c "import sys; print(sys.version)"
2222 - name : Install package
23- run : pip install -e .
24- - run : hermes clean || (cat hermes.log && false)
25- - run : hermes harvest || (cat hermes.log && false)
26- - run : hermes process || (cat hermes.log && false)
27- - run : hermes curate || (cat hermes.log && false)
23+ run : python -m pip install -e .
24+ - name : hermes clean
25+ run : hermes clean || (cat hermes.log && false)
26+ - name : hermes harvest
27+ run : hermes harvest || (cat hermes.log && false)
28+ - name : hermes process
29+ run : hermes process || (cat hermes.log && false)
30+ - name : hermes curate
31+ run : hermes curate || (cat hermes.log && false)
Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: CC0-1.0
55
66[curate ]
7- method = " software-card "
7+ method = " software_card "
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ homepage = "https://github.com/softwarepub/hermes-plugin-software-card"
3737repository = " https://github.com/softwarepub/hermes-plugin-software-card.git"
3838
3939[project .entry-points ."hermes .curate" ]
40- software-card = " hermes_plugin_software_card.curate:SoftwareCaRDCuratePlugin"
40+ software_card = " hermes_plugin_software_card.curate:SoftwareCaRDCuratePlugin"
4141
4242[tool .ruff .lint ]
4343select = [
@@ -48,6 +48,7 @@ select = [
4848 " C4" ,
4949 " C90" ,
5050 " COM" ,
51+ " D" ,
5152 " DTZ" ,
5253 " E" ,
5354 " EM" ,
@@ -78,4 +79,7 @@ select = [
7879]
7980ignore = [" COM812" ]
8081
82+ [tool .ruff .lint .pydocstyle ]
83+ convention = " pep257"
84+
8185[tool .setuptools_scm ]
Original file line number Diff line number Diff line change 22# SPDX-FileContributor: David Pape
33#
44# SPDX-License-Identifier: Apache-2.0
5+
6+ """HERMES plugins for the Software CaRD framework."""
Original file line number Diff line number Diff line change 33#
44# SPDX-License-Identifier: Apache-2.0
55
6+ """Module containing the Software CaRD curation plugin for HERMES."""
7+
68from hermes .commands .curate .base import BaseCuratePlugin
79
810
911class SoftwareCaRDCuratePlugin (BaseCuratePlugin ):
10- pass
12+ """Software CaRD curation plugin."""
13+
14+ def is_publication_approved (self ):
15+ """Decide whether the publication of the software is approved."""
16+ return False
You can’t perform that action at this time.
0 commit comments