-
Notifications
You must be signed in to change notification settings - Fork 49
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
[sebdah-62] Skip pylintrc parameter if file not present #63
Conversation
a5db73e
to
e6f6fdb
Compare
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.
Thank you very much for this contribution @volviq. I added a couple of minor nitpicks. But all in all this looks like a good change.
Thanks!
@@ -269,9 +271,11 @@ def check_repo( | |||
if pylint_params: | |||
command += pylint_params.split() | |||
if '--rcfile' not in pylint_params: | |||
command.append('--rcfile={}'.format(pylintrc)) | |||
if pylintrc is not None: |
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.
Please change this to if not pylintrc
to be more Pythonic.
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 assume you mean "change this to if pylintrc
"?
else: | ||
command.append('--rcfile={}'.format(pylintrc)) | ||
if pylintrc is not None: |
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.
Please change this to if not pylintrc
to be more Pythonic.
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 assume you mean "change this to if pylintrc
"?
Do not pass "--rcfile" to pylint, in case .pylintrc is not present.
e6f6fdb
to
e3de7bd
Compare
@sebdah nitpicks adressed. General question: what's the planned release cycle, and when (rough estimate) would you expect then next one to go into pip? I don't know how the process works, so maybe you can't even answer that question. |
Thanks! There is no release cycle per se. I'm merge this and ship it either
today or tomorrow. I'm traveling today, so it depends a little on if I find
a good window.
…On Sat, Mar 10, 2018, 7:13 PM volviq ***@***.***> wrote:
@sebdah <https://github.com/sebdah> nitpicks adressed.
General question: what's the planned release cycle, and when (rough
estimate) would you expect then next one to go into pip? I don't know how
the process works, so maybe you can't even answer that question.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0QLGaxBLyKNWdENy6nV7ErVEcxfkjpks5tdBfkgaJpZM4SkUZE>
.
|
Yes please close #62
#61 is far from being done.
On 12 Mar 2018 04:43, "Sebastian Dahlgren" <[email protected]> wrote:
@volviq <https://github.com/volviq> I have released version 2.4.0 to PyPI
now! Thanks for this PR. Should we close #62
<#62> now and keep
#61 <#61> open still?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AErY9AHBzd2-uDYZNykodXBfTPhVkPioks5tdf0FgaJpZM4SkUZE>
.
|
In case there is no .pylintrc file, skip the --rcfile parameter in
pylintrc invocation.