Skip to content

Added a algorithm related to topic bit_manipulation #9821

Added a algorithm related to topic bit_manipulation

Added a algorithm related to topic bit_manipulation #9821

Triggered via pull request October 1, 2024 11:48
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Ruff (E501): bit_manipulation/find_number_that_appears_only_once_in_array.py#L5
bit_manipulation/find_number_that_appears_only_once_in_array.py:5:89: E501 Line too long (172 > 88)
Ruff (N802): bit_manipulation/find_number_that_appears_only_once_in_array.py#L28
bit_manipulation/find_number_that_appears_only_once_in_array.py:28:5: N802 Function name `findSingleNumber` should be lowercase
Ruff (W293): bit_manipulation/find_number_that_appears_only_once_in_array.py#L30
bit_manipulation/find_number_that_appears_only_once_in_array.py:30:1: W293 Blank line contains whitespace
Ruff (E703): bit_manipulation/find_number_that_appears_only_once_in_array.py#L32
bit_manipulation/find_number_that_appears_only_once_in_array.py:32:36: E703 Statement ends with an unnecessary semicolon
Ruff (W293): bit_manipulation/find_number_that_appears_only_once_in_array.py#L33
bit_manipulation/find_number_that_appears_only_once_in_array.py:33:1: W293 Blank line contains whitespace
Ruff (F821): bit_manipulation/find_number_that_appears_only_once_in_array.py#L38
bit_manipulation/find_number_that_appears_only_once_in_array.py:38:11: F821 Undefined name `single_num`
ruff
Process completed with exit code 1.