Skip to content

Master

Master #17728

Triggered via pull request April 22, 2026 08:28
Status Failure
Total duration 10s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
ruff
Process completed with exit code 1.
ruff (PT027): tests/test_count_number_of_one_bits.py#L17
tests/test_count_number_of_one_bits.py:17:14: PT027 Use `pytest.raises` instead of unittest-style `assertRaises` help: Replace `assertRaises` with `pytest.raises`
ruff (PT009): tests/test_count_number_of_one_bits.py#L14
tests/test_count_number_of_one_bits.py:14:9: PT009 Use a regular `assert` instead of unittest-style `assertEqual` help: Replace `assertEqual(...)` with `assert ...`
ruff (PT009): tests/test_count_number_of_one_bits.py#L13
tests/test_count_number_of_one_bits.py:13:9: PT009 Use a regular `assert` instead of unittest-style `assertEqual` help: Replace `assertEqual(...)` with `assert ...`
ruff (PT009): tests/test_count_number_of_one_bits.py#L12
tests/test_count_number_of_one_bits.py:12:9: PT009 Use a regular `assert` instead of unittest-style `assertEqual` help: Replace `assertEqual(...)` with `assert ...`
ruff (PT009): tests/test_count_number_of_one_bits.py#L11
tests/test_count_number_of_one_bits.py:11:9: PT009 Use a regular `assert` instead of unittest-style `assertEqual` help: Replace `assertEqual(...)` with `assert ...`
ruff (INP001): tests/test_count_number_of_one_bits.py#L1
tests/test_count_number_of_one_bits.py:1:1: INP001 File `tests/test_count_number_of_one_bits.py` is part of an implicit namespace package. Add an `__init__.py`.