We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e0c8a4 commit 61fad93Copy full SHA for 61fad93
scripts/validate_docstrings.py
@@ -129,15 +129,14 @@ def get_api_items(api_doc_fd):
129
if line_stripped == "":
130
position = None
131
continue
132
- item = line_stripped.strip()
133
- if item in IGNORE_VALIDATION:
+ if line_stripped in IGNORE_VALIDATION:
134
135
func = importlib.import_module(current_module)
136
- for part in item.split("."):
+ for part in line_stripped.split("."):
137
func = getattr(func, part)
138
139
yield (
140
- ".".join([current_module, item]),
+ ".".join([current_module, line_stripped]),
141
func,
142
current_section,
143
current_subsection,
0 commit comments