IR: Better tuple autocasting via pydantic field_validators #1667
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
|