Skip to content

Commit 7e9ce2e

Browse files
committed
test: inject a mypy error
1 parent 47d2230 commit 7e9ce2e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
run: |
4848
source .venv/bin/activate
4949
maturin develop
50-
- name: Type check
50+
- name: Type check (mypy)
5151
run: |
5252
source .venv/bin/activate
5353
mypy python
54-
- name: Test
54+
- name: Run tests
5555
run: |
5656
source .venv/bin/activate
5757
pytest python/cocoindex/tests

python/cocoindex/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ def ls(app_target: str | None):
177177
click.echo("No persisted flow setups found in the backend.")
178178
return
179179

180-
for name in sorted(persisted_flow_names):
180+
persisted_flow_names = set(persisted_flow_names)
181+
for name in persisted_flow_names:
181182
click.echo(name)
182183

183184
@cli.command()

0 commit comments

Comments
 (0)