brobsc / easy_tst

easy_tst
GNU Affero General Public License v3.0
2 stars 0 forks source link

Cleanup logging #21

Open brobsc opened 6 years ago

brobsc commented 6 years ago

Currently this is too verbose:

Trying to checkout: ""
Code does not meet base criteria. Skipping...
Trying to checkout: "
def organiza_por_media(alist):
    total = 0
    for n in alist:
        total += n
    avg = total / float(len(alist))

    for i in range(len(alist)):
        if alist[i] > avg:
            n = alist[i]
            alist.pop(i)
            alist.append(n)

    return alist
"
Code does not meet base criteria. Skipping...
Trying to checkout: "rying to checkout: ""
pedroespindula commented 6 years ago

Add argparse module support for --verbose and --quiet mode.