nixbot

builds

ominit/yiju build #5 failed

branch main · commit cb6d3ff47a · · took 37s · eval 12s

1 failed
failed attributes
status attribute duration
failed checks.x86_64-linux.python 22s
yiju-checks: error[truthiness-test-of-none-union]: Boolean test on `tuple[str, ...] | None` does not distinguish `None` from other falsy values --> yiju/core …
yiju-checks:
error[truthiness-test-of-none-union]: Boolean test on `tuple[str, ...] | None` does not distinguish `None` from other falsy values
   --> yiju/core/tokenizer.py:131:32
    |
131 |         parts = list(known) if known else characters[offset : offset + len(word)]
    |                                ^^^^^ Both `None` and non-`None` values can be falsy
help: Use `is None` or `is not None` to check for presence of the value
help: Use `bool(...)` if testing truthiness is intentional
Found 1 diagnostic
2 succeeded
succeeded attributes
status attribute duration
loading…