In #155, support for splitting doctest lines that actually are two separate statements / expressions chained together by semicolons was added. However, decorators are not contained in lines[lineno:end_lineno], and comments are not even contained in the AST. This makes sure both work fine.
[x] Tests added
[x] Passes pre-commit run --all-files
[x] User visible changes (including notable bug fixes) are documented in changelog.rst
In #155, support for splitting doctest lines that actually are two separate statements / expressions chained together by semicolons was added. However, decorators are not contained in
lines[lineno:end_lineno]
, and comments are not even contained in the AST. This makes sure both work fine.pre-commit run --all-files
changelog.rst