Skip to content

Commit 647d2d9

Browse files
committed
Prepare release v0.1.0
1 parent c4b3127 commit 647d2d9

File tree

6 files changed

+5
-3
lines changed

6 files changed

+5
-3
lines changed

gitpersona/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
"""
55
__version__ = "0.1.0"
66

7-
from .cli import main
7+
# Keep the package surface minimal. Import CLI at runtime via:
8+
# from gitpersona import cli
9+
# or use the installed `gitpersona` console script.
-38 Bytes
Binary file not shown.
-22 Bytes
Binary file not shown.

gitpersona/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Analysis utilities for GitPersona."""
2-
from collections import Counter, defaultdict
2+
from collections import Counter
33
from datetime import datetime
44
from typing import List, Dict, Any
55

4 Bytes
Binary file not shown.

tests/test_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ def test_analyze_basic():
2222
res = analyze_user("alice", repos)
2323
assert res["username"] == "alice"
2424
assert res["total_repos"] == 3
25-
assert any(l["language"] == "Python" for l in res["top_languages"])
25+
assert any(item["language"] == "Python" for item in res["top_languages"])
2626
assert res["stars"] == 7

0 commit comments

Comments
 (0)