Skip to content

Add linting to CI

Add linting to CI #23

Triggered via pull request December 29, 2023 05:09
Status Failure
Total duration 9m 30s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PT011): tests/vxingest/builder_common/test_bc_builder_utilities.py#L52
tests/vxingest/builder_common/test_bc_builder_utilities.py:52:24: PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
Ruff (PT012): tests/vxingest/builder_common/test_bc_builder_utilities.py#L54
tests/vxingest/builder_common/test_bc_builder_utilities.py:54:5: PT012 `pytest.raises()` block should contain a single simple statement
Ruff (PT011): tests/vxingest/builder_common/test_bc_builder_utilities.py#L54
tests/vxingest/builder_common/test_bc_builder_utilities.py:54:24: PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
Ruff (B018): tests/vxingest/builder_common/test_unit_queries.py#L17
tests/vxingest/builder_common/test_unit_queries.py:17:13: B018 Found useless expression. Either assign it to a variable or remove it.
Ruff (PT015): tests/vxingest/builder_common/test_unit_queries.py#L51
tests/vxingest/builder_common/test_unit_queries.py:51:9: PT015 Assertion always fails, replace with `pytest.fail()`
Ruff (PT017): tests/vxingest/builder_common/test_unit_queries.py#L51
tests/vxingest/builder_common/test_unit_queries.py:51:9: PT017 Found assertion on exception `_e` in `except` block, use `pytest.raises()` instead
Ruff (B011): tests/vxingest/builder_common/test_unit_queries.py#L51
tests/vxingest/builder_common/test_unit_queries.py:51:16: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
Ruff (PT015): tests/vxingest/builder_common/test_unit_queries.py#L74
tests/vxingest/builder_common/test_unit_queries.py:74:9: PT015 Assertion always fails, replace with `pytest.fail()`
Ruff (PT017): tests/vxingest/builder_common/test_unit_queries.py#L74
tests/vxingest/builder_common/test_unit_queries.py:74:9: PT017 Found assertion on exception `_e` in `except` block, use `pytest.raises()` instead
Ruff (B011): tests/vxingest/builder_common/test_unit_queries.py#L74
tests/vxingest/builder_common/test_unit_queries.py:74:16: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`