@@ -275,7 +275,6 @@ def merge_members_option(options: dict[str, Any]) -> None:
275275 'private-members' : members_option ,
276276 'special-members' : members_option ,
277277 'member-order' : member_order_option ,
278- 'show-inheritance' : bool_option ,
279278}
280279_OPTION_SPEC_MODULE_SPECIFIC : Final [OptionSpec ] = {
281280 'ignore-module-all' : bool_option ,
@@ -286,6 +285,7 @@ def merge_members_option(options: dict[str, Any]) -> None:
286285}
287286_OPTION_SPEC_CLASS_SPECIFIC : Final [OptionSpec ] = {
288287 'class-doc-from' : class_doc_from_option ,
288+ 'show-inheritance' : bool_option ,
289289 'inherited-members' : inherited_members_option ,
290290}
291291_OPTION_SPEC_ASSIGNMENT : Final [OptionSpec ] = _OPTION_SPEC_COMMON | {
@@ -299,7 +299,9 @@ def merge_members_option(options: dict[str, Any]) -> None:
299299_OPTION_SPECS : Final [Mapping [_AutodocObjType , OptionSpec ]] = {
300300 'module' : _OPTION_SPEC_HAS_MEMBERS
301301 | _OPTION_SPEC_MODULE_SPECIFIC
302+ | {'show-inheritance' : bool_option } # special case
302303 | {'inherited-members' : inherited_members_option } # special case
304+ | {'no-value' : bool_option } # special case
303305 | _OPTION_SPEC_DEPRECATED ,
304306 'class' : _OPTION_SPEC_HAS_MEMBERS
305307 | _OPTION_SPEC_CLASS_SPECIFIC
0 commit comments