Skip to content

extending howfairis #338

Answered by jspaaks
alee asked this question in General
Discussion options

You must be logged in to vote

Hi @alee,

sorry this went unanswered for such a long time. As to your question, extending the list of checks is currently not very convenient (indeed, hence the issue #334) but basically, it would entail extending one of the five mixin classes. For example, if you wanted to add a check for an additional registry, you would go to the corresponding mixin (here), add a method to it, for example def has_my_repo_badge(self), and call it from this list:

https://github.com/fair-software/howfairis/blob/0.14.1/howfairis/mixins/registry_mixin.py#L15-L24

While this works from a technical prespective, I anticipate some problems with how the results are presented, because the two checks you mention ar…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants