Commit 093429d
CM-70014: update dependencies (Aug 2026)
- marshmallow 3.26.2 -> 4.0.1 (capped <4.1.0; 4.1+ drops Python 3.9)
- rich 13.9.4 -> 15.0.0
- gitpython 3.1.50 -> 3.1.57 (floor raised to 3.1.51)
- pyinstaller 6.20.0 -> 6.21.0
- poetry.lock refreshed (7-day solver cooldown)
GitPython only inverts the `R` flag when diffing the index against HEAD, not against the
empty tree, so pre-commit scans of a repository with no commits yet sent staged content as
removed lines. Centralize the diff in get_staged_diff_index() so both call sites get a patch
oriented with staged content as additions, and assert that orientation in tests.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e62b533 commit 093429d
5 files changed
Lines changed: 694 additions & 374 deletions
File tree
- cycode/cli
- apps/scan
- files_collector
- tests/cli/files_collector
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
| 363 | + | |
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
50 | 67 | | |
51 | 68 | | |
52 | 69 | | |
| |||
411 | 428 | | |
412 | 429 | | |
413 | 430 | | |
414 | | - | |
415 | | - | |
| 431 | + | |
416 | 432 | | |
417 | 433 | | |
418 | 434 | | |
| |||
0 commit comments