Skip to content

Update merge_sort.py with new implementation #Fixes 8098 #9578

Update merge_sort.py with new implementation #Fixes 8098

Update merge_sort.py with new implementation #Fixes 8098 #9578

Triggered via pull request September 10, 2024 04:30
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (I001): sorts/merge_sort.py#L10
sorts/merge_sort.py:10:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): sorts/merge_sort.py#L11
sorts/merge_sort.py:11:8: F401 `itertools` imported but unused
Ruff (PLR5501): sorts/merge_sort.py#L96
sorts/merge_sort.py:96:9: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
Ruff (W293): sorts/merge_sort.py#L147
sorts/merge_sort.py:147:1: W293 Blank line contains whitespace
Ruff (W293): sorts/merge_sort.py#L245
sorts/merge_sort.py:245:1: W293 Blank line contains whitespace
Ruff (E501): sorts/merge_sort.py#L247
sorts/merge_sort.py:247:89: E501 Line too long (119 > 88)
Ruff (E501): sorts/merge_sort.py#L253
sorts/merge_sort.py:253:89: E501 Line too long (92 > 88)
Ruff (E501): sorts/merge_sort.py#L257
sorts/merge_sort.py:257:89: E501 Line too long (89 > 88)
Ruff (W292): sorts/merge_sort.py#L259
sorts/merge_sort.py:259:81: W292 No newline at end of file
ruff
Process completed with exit code 1.