Skip to content

IR: Better tuple autocasting via pydantic field_validators #1667

IR: Better tuple autocasting via pydantic field_validators

IR: Better tuple autocasting via pydantic field_validators #1667

Triggered via pull request January 16, 2025 16:02
Status Failure
Total duration 2m 20s
Artifacts

code_checks.yml

on: pull_request
Matrix: code checks
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
code checks (3.11): loki/ir/tests/test_ir_nodes.py#L159
C1803: "cond.body == ()" can be simplified to "not cond.body", if it is strictly a sequence, as an empty tuple is falsey (use-implicit-booleaness-not-comparison)
code checks (3.11): loki/ir/tests/test_ir_nodes.py#L254
C1803: "sec.body == ()" can be simplified to "not sec.body", if it is strictly a sequence, as an empty tuple is falsey (use-implicit-booleaness-not-comparison)
code checks (3.11)
Process completed with exit code 16.
code checks (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636