Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contributions by contributor metric and tests #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dicortazar
Copy link
Member

No description provided.

Signed-off-by: Daniel Izquierdo Cortazar <[email protected]>
Copy link
Contributor

@alpgarcia alpgarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and working. Just one minor change in the documentation side to make it clearer. It would be great to have an associated issue describing the metric and why we are adding it.

For future PRs, imho we should use forks for proposing changes and upstream branches for different versions of the project if any (for instance stable, dev, releases, etc.).

Thanks @dicortazar !

:param end_date: date until we want to counts contributions to (inclusive).
`None` by default, means count everything from `start_date`.
:param exclude_bots: whether or not to exclude contributions by bots
:returns: the number of contributions sent to the specified data source.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would document the returns part the same way you did in the called function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants