Skip to content

Add black and ruff to CI #246

Add black and ruff to CI

Add black and ruff to CI #246

Triggered via pull request September 9, 2024 02:52
Status Failure
Total duration 2m 55s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (D107): src/benchcab/spatial.py#L25
src/benchcab/spatial.py:25:9: D107 Missing docstring in `__init__`
Ruff (PT001): tests/conftest.py#L16
tests/conftest.py:16:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
Ruff (PT001): tests/conftest.py#L37
tests/conftest.py:37:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
Ruff (PT001): tests/conftest.py#L110
tests/conftest.py:110:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
Ruff (PT001): tests/conftest.py#L142
tests/conftest.py:142:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
Ruff (PT023): tests/test_benchcab.py#L41
tests/test_benchcab.py:41:1: PT023 Use `@pytest.mark.skip` over `@pytest.mark.skip()`
Ruff (PT023): tests/test_benchcab.py#L56
tests/test_benchcab.py:56:1: PT023 Use `@pytest.mark.skip` over `@pytest.mark.skip()`
Ruff (I001): tests/test_comparison.py#L8
tests/test_comparison.py:8:1: I001 Import block is un-sorted or un-formatted
Ruff (PT001): tests/test_comparison.py#L18
tests/test_comparison.py:18:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
Ruff (PT001): tests/test_comparison.py#L24
tests/test_comparison.py:24:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
pytest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, conda-incubator/setup-miniconda@v2, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/