Skip to content

Fix new PEP585 Ruff lint (#1218) #391

Fix new PEP585 Ruff lint (#1218)

Fix new PEP585 Ruff lint (#1218) #391

Triggered via push January 2, 2025 14:43
Status Success
Total duration 1m 2s
Artifacts
Matrix: Global type checks
Matrix: Strict type checks
Matrix: Unit tests
Matrix: Lints
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 8 warnings
Global type checks (3.11): python/lib/imaging_io.py#L49
The method "log_info" in class "ImagingIO" is deprecated
Global type checks (3.11): python/lib/imaging_io.py#L62
The method "log_info" in class "ImagingIO" is deprecated
Global type checks (3.11): python/lib/imaging_io.py#L66
The method "log_error_and_exit" in class "ImagingIO" is deprecated
Global type checks (3.11): python/lib/log.py#L6
The class "Notification" is deprecated
Global type checks (3.11): python/lib/log.py#L60
The class "Notification" is deprecated
Global type checks (3.11): python/lib/log.py#L81
The method "write_to_notification_spool" in class "Notification" is deprecated
Global type checks (3.11): python/lib/session.py#L4
The class "ProjectCohortRel" is deprecated
Global type checks (3.11): python/lib/session.py#L5
The class "SessionDB" is deprecated
Global type checks (3.11): python/lib/session.py#L6
The class "Site" is deprecated
Global type checks (3.11): python/lib/session.py#L61
The class "ProjectCohortRel" is deprecated
Global type checks (3.12): python/lib/imaging_io.py#L49
The method "log_info" in class "ImagingIO" is deprecated
Global type checks (3.12): python/lib/imaging_io.py#L62
The method "log_info" in class "ImagingIO" is deprecated
Global type checks (3.12): python/lib/imaging_io.py#L66
The method "log_error_and_exit" in class "ImagingIO" is deprecated
Global type checks (3.12): python/lib/log.py#L6
The class "Notification" is deprecated
Global type checks (3.12): python/lib/log.py#L60
The class "Notification" is deprecated
Global type checks (3.12): python/lib/log.py#L81
The method "write_to_notification_spool" in class "Notification" is deprecated
Global type checks (3.12): python/lib/session.py#L4
The class "ProjectCohortRel" is deprecated
Global type checks (3.12): python/lib/session.py#L5
The class "SessionDB" is deprecated
Global type checks (3.12): python/lib/session.py#L6
The class "Site" is deprecated
Global type checks (3.12): python/lib/session.py#L61
The class "ProjectCohortRel" is deprecated
Lints (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Global type checks (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lints (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Strict type checks (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Strict type checks (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Global type checks (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636