Skip to content

[WIP] python, linting: Align ruff with upstream #1257

[WIP] python, linting: Align ruff with upstream

[WIP] python, linting: Align ruff with upstream #1257

Triggered via pull request January 21, 2025 20:27
Status Failure
Total duration 5m 2s
Artifacts

positron-python-ci.yml

on: pull_request
Matrix: Test Positron IPyKernel
Matrix: Test Minimum Positron IPyKernel Dependencies
Matrix: Python Tests
Matrix: Test TypeScript
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 8 warnings
Lint
Process completed with exit code 1.
Test Positron IPyKernel (macos-latest, 3.9)
Process completed with exit code 1.
Test Positron IPyKernel (windows-latest, 3.10)
The job was canceled because "macos-latest_3_9" failed.
Test Positron IPyKernel (windows-latest, 3.10)
The operation was canceled.
Test Positron IPyKernel (ubuntu-latest, 3.12)
The job was canceled because "macos-latest_3_9" failed.
Test Positron IPyKernel (ubuntu-latest, 3.12)
The operation was canceled.
Test Positron IPyKernel (ubuntu-latest, 3.11)
The job was canceled because "macos-latest_3_9" failed.
Test Positron IPyKernel (ubuntu-latest, 3.11)
The operation was canceled.
Check Python types: extensions/positron-python/python_files/positron/positron_ipykernel/positron_comm.py#L209
Cannot access member "messages" for type "BaseComm"   Member "messages" is unknown (reportGeneralTypeIssues)
Check Python types: extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_data_explorer.py#L2510
Cannot access member "date" for type "DatetimeIndex"   Member "date" is unknown (reportGeneralTypeIssues)
Check Python types: extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_pydoc.py#L70
Cannot assign member "A" for type "ModuleType"   Member "A" is unknown (reportGeneralTypeIssues)
Check Python types: extensions/positron-python/python_files/positron/positron_ipykernel/tests/test_pydoc.py#L71
Cannot assign member "test_func" for type "ModuleType"   Member "test_func" is unknown (reportGeneralTypeIssues)
Check Python types
4 errors
Test Minimum Positron IPyKernel Dependencies (ubuntu-latest, 3.8)
Process completed with exit code 1.
Python Tests (ubuntu-latest, 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python Tests (ubuntu-latest, 3.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test TypeScript (ubuntu-latest, 3.x, functional)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test TypeScript (macos-latest, 3.x, venv)
The 'defaults' channel might have been added implicitly. If this is intentional, add 'defaults' to the 'channels' list. Otherwise, consider setting 'conda-remove-defaults' to 'true'.
Test TypeScript (ubuntu-latest, 3.x, ts-unit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Python types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Minimum Positron IPyKernel Dependencies (ubuntu-latest, 3.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636