-
Notifications
You must be signed in to change notification settings - Fork 154
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
[WIP] Refactoring/dry #224
Conversation
@mondaini I merged your other PR and it seems that your fork is not updated. Please update it and resolve the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update fork
No problem @manparvesh :-) There are other DRY violations I found that I intend to fix. I believe that the project's Coverage will improve after these changes. |
Codecov Report
@@ Coverage Diff @@
## master #224 +/- ##
==========================================
- Coverage 76.37% 71.81% -4.56%
==========================================
Files 59 55 -4
Lines 3357 3151 -206
==========================================
- Hits 2564 2263 -301
- Misses 793 888 +95
Continue to review full report at Codecov.
|
click.echo("Number | Date ") | ||
click.echo("--------------------") | ||
for i, some_file in enumerate(range(0, len(list_of_files))): | ||
click.echo(str(i) + " |" + list_of_files[some_file][0:10]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for i, some_file in enumerate(list_of_files):
click.echo(str(i) + " |" + some_file[:10])
click.echo("Number | Date ") | ||
click.echo("--------------------") | ||
for i, some_file in enumerate(range(0, len(list_of_files))): | ||
click.echo(str(i) + " |" + list_of_files[some_file][0:10]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above?
v1 is now deprecated, closing old PRs |
Short description of what this resolves: Fixing some DRY violations
Fixes: #223