Commit ee15715
committed
ci(weighted-edges): drop '/**' from ruff-action args so paths resolve
The weighted_edges_tests quality-gate job invokes astral-sh/ruff-action
with args containing 'm_flow/knowledge/graph_ops/**'. ruff-action passes
the string directly to ruff without shell glob expansion, so ruff treats
'/**' as a literal path component and fails with:
E902 No such file or directory (os error 2)
--> m_flow/knowledge/graph_ops/**:1:1
ruff already recurses into directories, so passing the plain directory
path 'm_flow/knowledge/graph_ops' is the standard idiom and matches how
the upstream ruff-action examples are written.
Verified locally with ruff 0.15.10 (lockfile-pinned version):
$ uvx ruff@0.15.10 check m_flow/knowledge/graph_ops \
m_flow/tests/unit/interfaces/graph/test_weighted_edges.py \
examples/python/weighted_edges_example.py
All checks passed!
$ uvx ruff@0.15.10 format --check ...
17 files already formatted
Signed-off-by: Alexazhu <alexazzjjtt@163.com>1 parent 84dc713 commit ee15715
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments