Skip to content

DOC: Validation script doesn't report that the docstring is correct #34228

Closed
@datapythonista

Description

@datapythonista

When executing for example:

./scripts/validate_docstrings.py pandas.DataFrame.head

The script, after the docstring, should report:

################################################################################
################################## Validation ##################################
################################################################################
Docstring for DataFrame.head correct. :)

But for some reason, the sentence Docstring for DataFrame.head correct. :) is not being printed.

This is the line that is not being executed: https://github.com/pandas-dev/pandas/blob/master/scripts/validate_docstrings.py#L364

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions