1
0
mirror of https://github.com/helix-editor/helix synced 2026-07-28 23:33:35 +02:00
Files
helix/tests/indent/cython.pyx
Blaž Hrastnik cd6a852c9e Add indent corpus
This will be used by the cargo indent-check xtask to validate queries,
similar to the existing indent tests in helix-core.
2026-06-07 21:29:01 +09:00

7 lines
112 B
Cython

def process(items):
total = 0
for v in items:
if v > 0:
total += v
return total