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
Traceback (most recent call last):
File "scripts/validate_docstrings.py", line 1047, in <module>
args.ignore_deprecated,
File "scripts/validate_docstrings.py", line 969, in main
result = validate_one(func_name)
File "scripts/validate_docstrings.py", line 836, in validate_one
errs, wrns, examples_errs = get_validation_data(doc)
File "scripts/validate_docstrings.py", line 760, in get_validation_data
if len(doc.returns) == 1 and doc.returns[0].name:
AttributeError: 'tuple' object has no attribute 'name'
Problem description
I get an AttributeError when running the script.
Expected Output
Output of pd.show_versions()
[paste the output of pd.show_versions() here below this line]
The text was updated successfully, but these errors were encountered:
albertvillanova
changed the title
BUG: AttributeError in script/validate_docstrings for doc.returns[0].name
BUG: AttributeError in scripts/validate_docstrings for doc.returns[0].name
Jul 27, 2019
Code Sample, a copy-pastable example if possible
Problem description
I get an AttributeError when running the script.
Expected Output
Output of
pd.show_versions()
[paste the output of
pd.show_versions()
here below this line]The text was updated successfully, but these errors were encountered: