-
Notifications
You must be signed in to change notification settings - Fork 14
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
Adds Pipfile support #25
Conversation
Corrected linting errors and removed rouge 'print' calls. Moved to using nosetest as the setup.py test runner. This is mainly as nose give clearer error messages when something goes wrong. Also of note there were pinned dependencies which have been changed to 'at least' version dependencies. For reasons why see https://caremad.io/posts/2013/07/setup-vs-requirement/ Laster, we currently have a README.md and a README.rst. I'm unsure which one of these we mean to use. Shouldn't we at the very least keep all of the following in the same markup format: README, HISTORY, CONTRIBUTING, AUTHORS,
🤔 failing tests. But Will have to return to this when I'm not so 😴 |
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.
Overall I think this is amazing, thank you. I have a couple small comments, but I think this is mostly ready-to-ship.
thanks/cli.py
Outdated
@click.option("--pipfile", "-p", | ||
multiple=True, | ||
type=click.File("r")) | ||
# @click.option("--setuppy", "-s", |
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.
I think it's good to support these in the future, but would rather not have commented out code lying around. If we want to add a # TODO: Support more types
I'm fine with that.
thanks/thanks.py
Outdated
|
||
return '\n'.join(lines) | ||
|
||
def rocks(self, colored_output=True): |
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.
could we instead call this give
or print
? I was confused reading this what rocks
was referring to.
- thanks.rocks is confusing - removes commented out code
8f72a81
to
35e730b
Compare
- Moves to py.test as gives better error messages
.egg files are sensibly added to .gitignore This is probably one of the very few cases where you want to add a .egg file :)
Ok @phildini, anything else? |
Addresses #18 and implements some of #10
Current usage: