Skip to content

Commit bf41741

Browse files
committed
check the module prior to commit
1 parent d91d227 commit bf41741

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autodocsumm/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ def get_grouped_documenters(self, all_members=False):
210210
if self.env.app:
211211
e[0].parse_name()
212212
e[0].import_object()
213+
if members_check_module and not e[0].check_module():
214+
continue
213215
user_section = self.env.app.emit_firstresult(
214216
'autodocsumm-grouper', self.objtype, e[0].object_name,
215217
e[0].object, section, self.object)

0 commit comments

Comments
 (0)