Skip to content

PEP8 Fixes - #32

Merged
rgommers merged 3 commits into
numpy:masterfrom
raghavrv:scikit_learn_sync
Apr 9, 2015
Merged

rgommers merged 3 commits into
numpy:masterfrom
raghavrv:scikit_learn_sync

Conversation

@raghavrv

Copy link
Copy Markdown
Contributor

This is an attempt to sync between numpy's and scikit-learn's version of numpydoc.

Currently I have made numpydoc's version PEP8 compliant to avoid trivial merge conflicts between both versions.

@larsmans Could you take a look at this?

Comment thread numpydoc/docscrape.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no backslashes please, that's bad style. if this is copied from scikit-learn, it should be changed there. If you wanted to get this line to <80 chars, a better way would be

self.show_inherited_members = config.get(
            'show_inherited_class_members', True)

@rgommers

rgommers commented Apr 3, 2015

Copy link
Copy Markdown
Member

This looks fine except for the one \. Sounds like a good plan to merge back scikit-learn specific changes - they could probably use this repo as a git submodule just like numpy does.

@raghavrv

raghavrv commented Apr 4, 2015

Copy link
Copy Markdown
Contributor Author

@rgommers Have removed the \. Please take a look now!

they could probably use this repo as a git submodule just like numpy does.

Thanks! I have referenced your suggestion in a comment...

@rgommers

rgommers commented Apr 4, 2015

Copy link
Copy Markdown
Member

Looks good to me now, thanks. I'll leave it open for a bit in case someone else wants to comment.

@larsmans

larsmans commented Apr 9, 2015

Copy link
Copy Markdown
Contributor

Looks fine, but I'm not sure why you're pinging me. I don't have pull rights on this repo.

rgommers pushed a commit that referenced this pull request Apr 9, 2015
@rgommers
rgommers merged commit 16ef04c into numpy:master Apr 9, 2015
@rgommers

rgommers commented Apr 9, 2015

Copy link
Copy Markdown
Member

OK in it goes. Thanks @ragv

@raghavrv

raghavrv commented Apr 9, 2015

Copy link
Copy Markdown
Contributor Author

Thanks for the merge :)

@raghavrv

raghavrv commented Apr 9, 2015

Copy link
Copy Markdown
Contributor Author

@larsmans Sorry I had incorrectly assumed you had! Thanks for reviewing it anyway :)

@raghavrv
raghavrv deleted the scikit_learn_sync branch April 9, 2015 23:01
@rgommers rgommers added this to the v0.6 milestone Jan 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants