-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding Pylint plugin to check Sphinx docstrings. #948
Adding Pylint plugin to check Sphinx docstrings. #948
Conversation
Also - Updated docstrings which don't pass / are invalid. - Integrated plugin with `tox lint` rule and `run_pylint`. For now, pulling directly from the mercurial source repository to get the `check_docs` pylint extension. The maintainter mentioned this will be released July 15-17, 2015. See: http://www.bitbucket.org/logilab/pylint/pull-request/143/
@tseaver Sorry about reviewninja. I was toying around with it and didn't realize it had privileges to comment on GitHub. I have now disabled that. |
@@ -53,7 +53,7 @@ commands = | |||
python run_pylint.py | |||
deps = | |||
pep8 | |||
pylint | |||
-ehg+https://bitbucket.org/logilab/pylint#egg=pylint |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This is kind of an ugly, wide-ranging change to be merging in the middle of other development (it is going to cause conflicts for pretty much any WIP / open PR. |
@tseaver I'm with you on most of that (not sure I buy that it's ugly, but some of the diffs are hard to grok). But do we ever foresee a time where we won't be in the middle of development? This likely won't cause merge issues because it touches docstrings whereas most code changes will touch code. Did you have your As for open PRs, it is definitely going to be an issue, but again, one we can't really avoid. As you can see from these changes, we had a lot of docstrings that weren't actually documenting the methods / classes / functions correctly. |
@tseaver How do you see a merge going? I assume you finished your review? |
If you can stand the merge problems this issue creates, go ahead and merge (I would be tempted to defer this until a "janitorial" phase, myself). |
I checked the open PRs (12 - this one = 11) and there is nothing with any real conflict.
|
Adding Pylint plugin to check Sphinx docstrings.
Also
tox lint
rule andrun_pylint
.elif _GAECreds is not None and isinstance(credentials, _GAECreds):
ingcloud.credentials._get_service_account_name
.For now, pulling directly from the mercurial source repository to get the
check_docs
pylint extension. The maintainer mentioned this will be released July 15-17, 2015.See:
http://www.bitbucket.org/logilab/pylint/pull-request/143/