Skip to content

Added doctests to Lowest_common_ancestor.py #12358

Added doctests to Lowest_common_ancestor.py

Added doctests to Lowest_common_ancestor.py #12358

Triggered via pull request January 13, 2025 21:56
Status Failure
Total duration 14s
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#L4
data_structures/binary_tree/lowest_common_ancestor.py:4:1: I001 Import block is un-sorted or un-formatted
Ruff (E501): data_structures/binary_tree/lowest_common_ancestor.py#L30
data_structures/binary_tree/lowest_common_ancestor.py:30:89: E501 Line too long (106 > 88)
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L35
data_structures/binary_tree/lowest_common_ancestor.py:35:1: W293 Blank line contains whitespace
Ruff (E501): data_structures/binary_tree/lowest_common_ancestor.py#L43
data_structures/binary_tree/lowest_common_ancestor.py:43:89: E501 Line too long (114 > 88)
Ruff (E501): data_structures/binary_tree/lowest_common_ancestor.py#L66
data_structures/binary_tree/lowest_common_ancestor.py:66:89: E501 Line too long (90 > 88)
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L68
data_structures/binary_tree/lowest_common_ancestor.py:68:1: W293 Blank line contains whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L145
data_structures/binary_tree/lowest_common_ancestor.py:145:1: W293 Blank line contains whitespace
Ruff (W605): data_structures/binary_tree/lowest_common_ancestor.py#L147
data_structures/binary_tree/lowest_common_ancestor.py:147:16: W605 Invalid escape sequence: `\ `
Ruff (W291): data_structures/binary_tree/lowest_common_ancestor.py#L147
data_structures/binary_tree/lowest_common_ancestor.py:147:17: W291 Trailing whitespace
Ruff (W293): data_structures/binary_tree/lowest_common_ancestor.py#L163
data_structures/binary_tree/lowest_common_ancestor.py:163:1: W293 Blank line contains whitespace
ruff
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636