custom_inherit icon indicating copy to clipboard operation
custom_inherit copied to clipboard

A Python package that provides tools for inheriting docstrings in customizable ways.

Results 7 custom_inherit issues
Sort by recently updated
recently updated
newest added

I don't know if this is more of an issue to do to flake8, but I try. Still with the .py from #46: ```python """This is a test.""" import sklearn...

Hey. Great tool, thanks a lot! I was wondering if we can merge docstring of different kinds. ```python """This is a test.""" import sklearn import numpy from typing import Optional...

Part of the inheritance merging (for `numpy` style) involves stripping as much whitespace as possible. This is expected behaviour from the docstrings https://github.com/rsokl/custom_inherit/blob/7e081977b053f561b3b5ab3ac4a0d28ac6a030ad/src/custom_inherit/_doc_parse_tools/numpy_parse_tools.py#L142-L143 and the tests https://github.com/rsokl/custom_inherit/blob/7e081977b053f561b3b5ab3ac4a0d28ac6a030ad/tests/inheritance_test.py#L79-L80 However, from the...

This will lead to considerable cleanups in the code base. I also plan to create a readthedocs page and to improve the test suite for this package.

enhancement

In my case I remove all arguments accepted in parent class in child's class method. It seems there is no way to also remove them from a docstring and it...

This has been deprecated for a long time, and finally removed in python 3.12