MCPcopy
hub / github.com/Shpota/github-activity-generator / contributions_per_day

Function contributions_per_day

contribute.py:74–80  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

72
73
74def contributions_per_day(args):
75 max_c = args.max_commits
76 if max_c > 20:
77 max_c = 20
78 if max_c < 1:
79 max_c = 1
80 return randint(1, max_c)
81
82
83def arguments(argsval):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected