-
Updated
Aug 23, 2021 - Python
docstrings
Here are 53 public repositories matching this topic...
With Python 3.5.x having reached its end of life/support, we can begin to use "advanced" features from Python 3.6:
-
Updated
Aug 23, 2021 - Python
-
Updated
Aug 26, 2021 - Python
-
Updated
Nov 21, 2020 - Jupyter Notebook
A common-ish mistake for docstring author is to use the label of a parameter as opposed to the actual name. The error message in this scenario could be improved. Right now the parameter docstring is reported as missing. It could be something like "Parameter label (X) is used instead of name (Y)".
-
Updated
Jul 13, 2020 - Python
-
Updated
Aug 22, 2021 - Python
-
Updated
May 28, 2021 - Python
-
Updated
Jan 3, 2021 - Python
-
Updated
Jun 3, 2017
-
Updated
Aug 26, 2021 - Jupyter Notebook
I was using mkdocstrings, but I think this issue is specifically related to pytkdocs.
Is your feature request related to a problem? Please describe.
Yes. I had a docstring of a generator that I was using mkdocstrings (v0.14.0) to compile the documentation for, something like:
"""
Get the next number in the sequence
Args:
n (int): The upper limit of the r
-
Updated
Apr 9, 2018 - Python
-
Updated
Aug 1, 2021 - Emacs Lisp
-
Updated
Aug 11, 2021 - Emacs Lisp
-
Updated
Jun 15, 2018
-
Updated
Jul 27, 2021 - Python
-
Updated
Jul 14, 2016 - Python
-
Updated
Jun 1, 2021 - Python
-
Updated
Jun 7, 2021 - Python
The constructor should be documented at class level and not at the init function.
-
Updated
Aug 9, 2021 - Python
-
Updated
Aug 3, 2021 - Python
-
Updated
Jun 2, 2021 - Python
-
Updated
Jul 11, 2020 - Python
Improve this page
Add a description, image, and links to the docstrings topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the docstrings topic, visit your repo's landing page and select "manage topics."
My problem
I document my class initialization inside the class docstring, therefore pydocstyle complains about undocumented
__init__
methods.My solution idea
It would be great to have the ability to have a flag (for example
--ignore-func
) that would work for both functions, classes and class methods with maybe a regex. So for ignoring the__init__
the flag could be ``--ignore-fu