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
In the same vein as --ignore-nested-functions, It would be nice if we could have an --ignore-nested-classes (or additionally capture nested classes with --ignore-nested-functions).
Is your feature request related to a problem?
For instance, a lot of my classes in one of my projects have a nested Schema class which follows an almost identical structure and really doesn't need docstrings (or so I think) so it would be great if we could ignore them.
Another case where this would be useful is when a class is defined inside a pytest fixture which yields an instance of the class for use in a test (here a dummy Scikit-Learn estimator class):
Hey there @DrGFreeman & @amin-nejad ! I'm so sorry this took me so long to get to. I just merged in #73 and should be released in the next day or so as 1.4.0. Thanks for the suggestion!
Describe the feature you'd like
In the same vein as
--ignore-nested-functions
, It would be nice if we could have an--ignore-nested-classes
(or additionally capture nested classes with--ignore-nested-functions
).Is your feature request related to a problem?
For instance, a lot of my classes in one of my projects have a nested
Schema
class which follows an almost identical structure and really doesn't need docstrings (or so I think) so it would be great if we could ignore them.Your Environment
interrogate
version(s) (interrogate --version
: 1.3.2Additional context
I know this can be done with regex in this particular case since they all have the same name but I think it could be a handy feature nonetheless.
The text was updated successfully, but these errors were encountered: