pkheria commited on
Commit
bba8bba
·
1 Parent(s): f8b5831

back to 2

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. commitlens.py +1 -1
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
commitlens.py CHANGED
@@ -237,7 +237,7 @@ def fetch_commit_context(
237
  filtered,
238
  key=lambda x: x.get("additions", 0) + x.get("deletions", 0),
239
  reverse=True
240
- )
241
 
242
  # Step 5 + 6 — build FileContext, fetch before/after content
243
  file_contexts: list[FileContext] = []
 
237
  filtered,
238
  key=lambda x: x.get("additions", 0) + x.get("deletions", 0),
239
  reverse=True
240
+ )[:2]
241
 
242
  # Step 5 + 6 — build FileContext, fetch before/after content
243
  file_contexts: list[FileContext] = []