Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1272515
#1 chore: set up poetry
Asifdotexe Apr 4, 2026
6cd6c64
#1 chore: set up precommit yaml file
Asifdotexe Apr 4, 2026
63e9422
#1 feat: add internal function for running cmd
Asifdotexe Apr 4, 2026
f6af978
#1 chore: update max line limit
Asifdotexe Apr 4, 2026
b06d909
#1 feat: add function to capture monthly snapshot
Asifdotexe Apr 4, 2026
7111ba5
#1 feat: add func to analyse snapshot
Asifdotexe Apr 4, 2026
b124a39
#1 chore: ignore fixme lint warning
Asifdotexe Apr 4, 2026
7226409
#1 feat: add func to prevent redundant blame calc
Asifdotexe Apr 4, 2026
003b27a
#1 feat: implement a main func
Asifdotexe Apr 4, 2026
8affcc4
#1 fix: git blame command and re-run it
Asifdotexe Apr 4, 2026
b671bb4
#1 feat: add dynamic repo cloning and processing
Asifdotexe Apr 4, 2026
181ec70
#1 fix(style): extracted logic into _parse_blame_output and added timer
Asifdotexe Apr 4, 2026
d7d7aa4
#1 refactor: implement threadpooling in reduce blame processing time
Asifdotexe Apr 4, 2026
01f031c
#1 refactor: update the versioning for precommit
Asifdotexe Apr 4, 2026
c84b4e0
#1 refactor: enforce PEP 508 on the poetry versioning
Asifdotexe Apr 4, 2026
3fc9b4f
#1 refactor: update poetry core constraint
Asifdotexe Apr 4, 2026
8d7972e
#1 fix: grammer in docstring
Asifdotexe Apr 4, 2026
f2210cf
#1 fix: add error handling for when base is not main but master
Asifdotexe Apr 4, 2026
02de6e4
#1 fix: add timezone to prevent mismatch when running on github actions
Asifdotexe Apr 4, 2026
3a35d0e
#1 ci: add testing scripts and workflow
Asifdotexe Apr 4, 2026
7d0d2e0
#1 style: fix typing error
Asifdotexe Apr 4, 2026
1a7a08c
#1 refactor(ci): add --no-root flag
Asifdotexe Apr 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Integration Tests

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
test:
name: Run Integration Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install Poetry
run: pipx install poetry

- name: Install dependencies
run: poetry install --no-root --with dev

- name: Run tests
run: poetry run pytest tests/ -v --tb=short
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: local
hooks:
- id: black
name: black
entry: poetry run black
language: system
types: [python]

- id: isort
name: isort (python)
entry: poetry run isort
language: system
types: [python]

- id: pylint
name: pylint
entry: poetry run pylint
language: system
types: [python]
args: ["--rcfile=pyproject.toml"]
111 changes: 111 additions & 0 deletions data/claude-code_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
[
{
"snapshot_date": "2025-02",
"total_lines": 315,
"composition": {
"2025": 315
}
},
{
"snapshot_date": "2025-03",
"total_lines": 368,
"composition": {
"2025": 368
}
},
{
"snapshot_date": "2025-04",
"total_lines": 455,
"composition": {
"2025": 455
}
},
{
"snapshot_date": "2025-05",
"total_lines": 756,
"composition": {
"2025": 756
}
},
{
"snapshot_date": "2025-06",
"total_lines": 876,
"composition": {
"2025": 876
}
},
{
"snapshot_date": "2025-07",
"total_lines": 77387,
"composition": {
"2025": 77387
}
},
{
"snapshot_date": "2025-08",
"total_lines": 77900,
"composition": {
"2025": 77900
}
},
{
"snapshot_date": "2025-09",
"total_lines": 78823,
"composition": {
"2025": 78823
}
},
{
"snapshot_date": "2025-10",
"total_lines": 56350,
"composition": {
"2025": 56350
}
},
{
"snapshot_date": "2025-11",
"total_lines": 60301,
"composition": {
"2025": 60301
}
},
{
"snapshot_date": "2025-12",
"total_lines": 86284,
"composition": {
"2025": 86284
}
},
{
"snapshot_date": "2026-01",
"total_lines": 86661,
"composition": {
"2025": 86626,
"2026": 35
}
},
{
"snapshot_date": "2026-02",
"total_lines": 87073,
"composition": {
"2025": 86420,
"2026": 653
}
},
{
"snapshot_date": "2026-03",
"total_lines": 87847,
"composition": {
"2025": 86142,
"2026": 1705
}
},
{
"snapshot_date": "2026-04",
"total_lines": 88573,
"composition": {
"2025": 86142,
"2026": 2431
}
}
]
Loading
Loading