File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 99from git_commits_graph .plotters import plot_changes_px
1010from git_commits_graph .plotters import plot_total_lines
1111from git_commits_graph .plotters import plot_total_lines_px
12-
12+ from tqdm . auto import tqdm
1313
1414@click .command ()
1515@click .argument ("git_dir" , required = True )
@@ -155,7 +155,7 @@ def fetch_commits(branch, repo):
155155 """Fetch commits from the git repository."""
156156 commits = []
157157 try :
158- for i in reversed (list (repo .iter_commits (rev = branch ))):
158+ for i in tqdm ( reversed (list (repo .iter_commits (rev = branch ) ))):
159159 stat = i .stats .total
160160 commits .append (
161161 [
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ build-backend = "poetry.core.masonry.api"
44
55[tool .poetry ]
66name = " git-commits-graph"
7- version = " 0.2.0 "
7+ version = " 0.2.1 "
88description = " Display graph of changes in number of lines in project or changed lines"
9- authors = [{name =" Krystian Safjan" , email =" ksafjan@gmail.com" }]
10- # authors = ["Krystian Safjan <ksafjan@gmail.com>"]
11- license = { text = " MIT" }
12- # license = "MIT"
9+ # authors = [{name="Krystian Safjan", email="ksafjan@gmail.com"}]
10+ authors = [" Krystian Safjan <ksafjan@gmail.com>" ]
11+ # license = { text = "MIT" }
12+ license = " MIT"
1313readme = " README.md"
1414
1515[tool .poetry .scripts ]
@@ -22,6 +22,7 @@ click = "^8.1.3"
2222pandas = " ^1.5.3"
2323matplotlib = " ^3.7.1"
2424plotly = " ^5.14.0"
25+ tqdm = " ^4.65.0"
2526
2627[tool .poetry .dev-dependencies ]
2728pytest = " ^7.2.2"
You can’t perform that action at this time.
0 commit comments