Skip to content

Add black and ruff to CI #242

Add black and ruff to CI

Add black and ruff to CI #242

Triggered via pull request July 17, 2024 03:27
Status Failure
Total duration 3m 8s
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 (I001): tests/conftest.py#L3
tests/conftest.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_benchcab.py#L3
tests/test_benchcab.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_cli.py#L3
tests/test_cli.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_config.py#L3
tests/test_config.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_coverage.py#L8
tests/test_coverage.py:8:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_model.py#L8
tests/test_model.py:8:1: I001 Import block is un-sorted or un-formatted
Ruff (I001): tests/test_namelist.py#L3
tests/test_namelist.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (D103): tests/test_spatial.py#L20
tests/test_spatial.py:20:5: D103 Missing docstring in public function
Ruff (I001): tests/test_subprocess.py#L3
tests/test_subprocess.py:3:1: I001 Import block is un-sorted or un-formatted
pytest
The following actions uses Node.js version which is deprecated 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/