Repository navigation
Conversation
| @@ -0,0 +1,7 @@ | |||
| Guidelines | |||
There was a problem hiding this comment.
Guidelines & Coding Conventions, perhaps?
There was a problem hiding this comment.
Coding conventions would be great. Especially naming conventions.
| @@ -0,0 +1,7 @@ | |||
| Guidelines | |||
| ========== | |||
|
|
|||
There was a problem hiding this comment.
Now just to figure out what common pieces of advice we give contributors :)
|
|
||
| from skimage import data | ||
|
|
||
| img = data.coins() |
There was a problem hiding this comment.
@soupault Please, read my comment: #2538 (comment) and add your point of view :)
There was a problem hiding this comment.
Works fine to me either way. :)
|
@sciunto I wouldn't consider this dead, just dormant, thanks for awakening it. =) As a first step, I would remove all the copied sections from NumPyDoc and just link to the official guide: Overall I think this is a great addition! But I think use |
|
I abandon this PR, I'm not motivated to continue on this. If someone else wants to document that, I'll be glad. |
hmaarrfk
left a comment
There was a problem hiding this comment.
I feel like most of this is or should be upstreamed. No need to duplicate it here.
| Docstring | ||
| --------- | ||
|
|
||
| documentation string (docstring) is a string that describes a module, |
| output. Rather than sacrificing the readability of the docstrings, we | ||
| have written pre-processors to assist Sphinx_ in its task. | ||
|
|
||
| The length of docstring lines should be kept to 75 characters to |
There was a problem hiding this comment.
I think this should be removed. This has fallen out of favor in recent years... Let's move on from the 70s
| If it is not necessary to specify a keyword argument, use | ||
| ``optional``:: | ||
|
|
||
| x : int, optional |
There was a problem hiding this comment.
I know you all have been adding optional, but I feel like this is the expected default from a keyword argument that has been specified in the signature.
| demonstrated function, must be explicit. | ||
|
|
||
|
|
||
| cumenting classes |
|
If you want to continue this PR, feel free! :) |
|
Not particularly. I guess I didn't see the point that you abbandoned it too. |
|
Totally into this PR, but there are quite a few changes I'd make. As @hmaarrfk, anything that can be upstreamed, should, by pointing to PEP257 and NumPy's docstring formatting guidelines. I don't have time to do it now but let's leave it open so the work is ready to be picked up by someone. |
|
I'm slowly going through the 1.0 milestone. Removing this from 1.0 as this is more a general documentation improvement and not specific to a release. |
|
We have changed the base branch for this PR from the Summary - what this means for your PRYou can continue to work on your PR, now based on Once we've merged your PR into the In addition - our automated script detected that your branch had merge conflicts with the pre-Megamove branch. Please make sure to merge in the Read on for the Megamove rationale, and more detailed instructions. DetailsRationaleWe've changed the base branch to make it easier and smoother to continue to work on your PR, while we work through a rather large change in the directory structure of the repository - a change that we have called Megamove. See the Megamove explanation issue for more detail. Changing the base branch means you do not see merge conflicts related to the Megamove change, and can continue to work with the repository in its original state, without worrying about porting those changes across to the new post-Megamove structure. As you'll see in the linked issue, you can continue to work on your PR as before, and you can continue to use the Github GUI to "Update branch" - this updates from the new To emphasize again, do not try and merge the scikit-image When we've approved your PR, we'll merge into the Any questions, please reply here. |
Description
As discussed on the ML, in this PR, we will start to list our guidelines related to our API.
https://mail.python.org/archives/list/[email protected]/thread/QKGR7YSC34MMXWFWLZNHHL3HJCBSAXN3/
TODO
multichannelparameter handling #2613References