Skip to content

Added doctests to Lowest_common_ancestor.py #12360

Added doctests to Lowest_common_ancestor.py

Added doctests to Lowest_common_ancestor.py #12360

Triggered via pull request January 13, 2025 22:02
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (I001): data_structures/binary_tree/lowest_common_ancestor.py#L1
data_structures/binary_tree/lowest_common_ancestor.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L25
data_structures/binary_tree/lowest_common_ancestor.py:25:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L28
data_structures/binary_tree/lowest_common_ancestor.py:28:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L30
data_structures/binary_tree/lowest_common_ancestor.py:30:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L32
data_structures/binary_tree/lowest_common_ancestor.py:32:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L39
data_structures/binary_tree/lowest_common_ancestor.py:39:1: W293 Blank line contains whitespace
Ruff (E501): data_structures/binary_tree/lowest_common_ancestor.py#L40
data_structures/binary_tree/lowest_common_ancestor.py:40:89: E501 Line too long (90 > 88)
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L61
data_structures/binary_tree/lowest_common_ancestor.py:61:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L65
data_structures/binary_tree/lowest_common_ancestor.py:65:1: W293 Blank line contains whitespace
Ruff (E501): data_structures/binary_tree/lowest_common_ancestor.py#L68
data_structures/binary_tree/lowest_common_ancestor.py:68:89: E501 Line too long (90 > 88)
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636