You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are all the files that we should check for documentation and other obvious mistakes. Please pick a file or a directory, mark it here as being taken care of and file an issue with a pull request so we can track that everything has been taken care of. Send @dboonz an email once you're done or write a note in the pull request if you need help.
The docstring should look like:
defmy_function(self, a, b, c=3):
""" <--- this is the start of the docstring Update a based on b. (This is a one-line description) A longer explanation goes here maybe including examples and notes and caveats Parameters ---------- a: np.ndarray the first argument. Should be between 1 and 2 b: np.ndarray The second argument c:int Are you still reading this? Returns ------- nothing """<---thisistheendofthedocstringpass
Pycharm users: File --> Settings --> Tools --> Python Integrated Tools and you'll spot it immediately. If you want to create a docstring, go to the line under the function definition, type three times ", then enter and it'll pop right up.
These are all the files that we should check for documentation and other obvious mistakes. Please pick a file or a directory, mark it here as being taken care of and file an issue with a pull request so we can track that everything has been taken care of. Send @dboonz an email once you're done or write a note in the pull request if you need help.
The docstring should look like:
Pycharm users:
File --> Settings --> Tools --> Python Integrated Tools
and you'll spot it immediately. If you want to create a docstring, go to the line under the function definition, type three times ", then enter and it'll pop right up.Visual studio: https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
The text was updated successfully, but these errors were encountered: