Skip to content

Commit 276bf96

Browse files
feat(signals): classify PDM, Conan, and Pixi lockfiles
Recognize pdm.lock, conan.lock, and pixi.lock so slop path classifiers weight Python and C++ dependency lock churn separately from source. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 859f8ef commit 276bf96

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/signals/path-matchers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ const LOCKFILE_NAMES: ReadonlySet<string> = new Set([
4646
"mix.lock",
4747
"package.resolved",
4848
"gradle.lockfile",
49+
"pdm.lock",
50+
"conan.lock",
51+
"pixi.lock",
4952
]);
5053

5154
const DEPENDENCY_MANIFEST_NAMES: ReadonlySet<string> = new Set([

test/unit/path-matchers.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ describe("isLockfile", () => {
7070
"mix.lock",
7171
"Package.resolved",
7272
"gradle.lockfile",
73+
"pdm.lock",
74+
"conan.lock",
75+
"pixi.lock",
7376
]) {
7477
expect(isLockfile(path)).toBe(true);
7578
}

0 commit comments

Comments
 (0)