Skip to content

grass.jupyter: Add basic import tests #12213

grass.jupyter: Add basic import tests

grass.jupyter: Add basic import tests #12213

Triggered via pull request January 23, 2026 10:26
Status Failure
Total duration 1m 15s
Artifacts 1

python-code-quality.yml

on: pull_request
Matrix: Python Code Quality Checks
Python Code Quality Result  /  Success
5s
Python Code Quality Result / Success
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Python Code Quality Checks (ubuntu-24.04)
Process completed with exit code 1.
Python Code Quality Checks (ubuntu-24.04)
Process completed with exit code 1.
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L57
python/grass/jupyter/tests/test_basic.py:57:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L46
python/grass/jupyter/tests/test_basic.py:46:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L35
python/grass/jupyter/tests/test_basic.py:35:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L35
python/grass/jupyter/tests/test_basic.py:35:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L24
python/grass/jupyter/tests/test_basic.py:24:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Ruff (PT017): python/grass/jupyter/tests/test_basic.py#L24
python/grass/jupyter/tests/test_basic.py:24:9: PT017 Found assertion on exception `e` in `except` block, use `pytest.raises()` instead
Python Code Quality Result / Success
Process completed with exit code 1.
Python Code Quality Result / Success
Some jobs were failed

Artifacts

Produced during runtime
Name Size Digest
formatted-ruff
11.1 KB
sha256:3bf811c36a703aec52aa8a0a5734abf674b31fbfca6248a109db1f52392918f8