-
Notifications
You must be signed in to change notification settings - Fork 62
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
First attempt at linter #83
Conversation
I don't know if the only reason to vendor |
12e7141
to
0d5c740
Compare
Pretty sure it was avoiding external deps. |
FWIW: if nobody reviews this and nobody objects, I'm just going to land this in a week so we avoid regressing these things yet again. |
lint_lib/lint.py
Outdated
if not parsed: | ||
return |
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.
If this does something, it should do it in a less cryptic way
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.
@Ms2ger PTAL at the comments that are there now
This checks that we have the right headers, in the right order, and checks for both duplicate headers and duplicate tests.
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.
wfm
This probably needs work. And might not work. And should probably have some Travis script first. (i.e., don't merge it)Probably good enough.