Master #17728
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`.
|