Skip to content
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

Updating Pylint to send in proper arguments depending on the version #161

Closed
wants to merge 2 commits into from

Conversation

@jonescodes
Copy link
Contributor

@jonescodes jonescodes commented Apr 22, 2014

Pylint 1.2.0 has been updated to not exit with 32 when -iy is passed in, so these changes could all be set in the rcfile, but it's nice to have pylint work without having a rcfile

@epriestley

This comment has been minimized.

By convention, just use list($stdout) to ignore other values.

@epriestley

This comment has been minimized.

Can this just return the full version string? The callsite can then use version_compare(). If we can't determine the version, we can return "999" or something like that so the result behaves sensibly.

@epriestley

This comment has been minimized.

Can this be private?

@epriestley

This comment has been minimized.

Copy link

@epriestley epriestley commented on 1158625 Apr 22, 2014

Some inlines; did you run this against both 0.x and 1.x versions and verify it behaves correctly? I want to make sure this has been tested before pulling it, but can't tell from the request.

@jonescodes
Copy link
Contributor Author

@jonescodes jonescodes commented Apr 22, 2014

I tested this with 1.0.0, 1.2.0, 0.28.0. That's when I realized 1.2.0 works as-is if you change the output format in the rcfile

epriestley pushed a commit that referenced this pull request May 6, 2014
…g on the version of pylint installed

See: <#161>

Reviewed by: epriestley
@epriestley
Copy link
Member

@epriestley epriestley commented May 6, 2014

Thanks, cherry-picked as 85000be.

@epriestley epriestley closed this May 6, 2014
julkiewicz added a commit to julkiewicz/arcanist that referenced this pull request Aug 7, 2015
…g on the version of pylint installed

See: <phacility#161>

Reviewed by: epriestley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants