Add black
and ruff
to CI
#246
Annotations
10 errors and 1 warning
Use ruff for linting reports:
src/benchcab/spatial.py#L25
src/benchcab/spatial.py:25:9: D107 Missing docstring in `__init__`
|
Use ruff for linting reports:
tests/conftest.py#L16
tests/conftest.py:16:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
Use ruff for linting reports:
tests/conftest.py#L37
tests/conftest.py:37:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
Use ruff for linting reports:
tests/conftest.py#L110
tests/conftest.py:110:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
Use ruff for linting reports:
tests/conftest.py#L142
tests/conftest.py:142:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
Use ruff for linting reports:
tests/test_benchcab.py#L41
tests/test_benchcab.py:41:1: PT023 Use `@pytest.mark.skip` over `@pytest.mark.skip()`
|
Use ruff for linting reports:
tests/test_benchcab.py#L56
tests/test_benchcab.py:56:1: PT023 Use `@pytest.mark.skip` over `@pytest.mark.skip()`
|
Use ruff for linting reports:
tests/test_comparison.py#L8
tests/test_comparison.py:8:1: I001 Import block is un-sorted or un-formatted
|
Use ruff for linting reports:
tests/test_comparison.py#L18
tests/test_comparison.py:18:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
Use ruff for linting reports:
tests/test_comparison.py#L24
tests/test_comparison.py:24:1: PT001 Use `@pytest.fixture` over `@pytest.fixture()`
|
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/
|
Loading