-
Notifications
You must be signed in to change notification settings - Fork 187
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
Benp/jshint violations #15
Benp/jshint violations #15
Conversation
Ill take a look today or tomorrow! |
yo @Bachmann1234 looks like I have broken tests :( I'll address those and let you know when it's GTG for you. Sorry about that... |
3 similar comments
1 similar comment
class JsHintQualityReporterTest(unittest.TestCase): | ||
|
||
def setUp(self): | ||
|
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.
delete this blank line. Sorry to flake8 you. Don't care about the long lines though (im looking at the diff-quality report :-P)
A couple trivial comments. Looks pretty good to me. Can you squash this down? |
4eb748f
to
68dc4a4
Compare
1 similar comment
Because jshint is (at the moment) not available through a python library/port, confirming that it is available at runtime needs to happen through a subprocess call, rather than a python import. The base class for the violations reporter now has a fallback option of checking for a given reporter through the CLI; however, the implementing class must provide the command that verifies it's installed. That command must exit 0 if the tool is successfully installed. (For jshint, it is `jshint --version`).
68dc4a4
to
f161ffa
Compare
@Bachmann1234 Added tests, fixed up flake8, and squashed. Happy to iterate again if you've got additional comments. |
Cool ill give this a last once over soon! |
Lets do this! Thanks for the PR |
https://pypi.python.org/pypi/diff_cover ITS OUT! :-) Thanks again |
Awesome!!! |
@Bachmann1234 mind taking a look?