We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0cc490 commit 5fd7a27Copy full SHA for 5fd7a27
tests/test_changelog.py
@@ -556,8 +556,8 @@
556
557
558
@pytest.fixture
559
-def gitcommits() -> list:
560
- commits = [
+def gitcommits() -> list[git.GitCommit]:
+ return [
561
git.GitCommit(
562
commit["rev"],
563
commit["title"],
@@ -568,13 +568,11 @@ def gitcommits() -> list:
568
)
569
for commit in COMMITS_DATA
570
]
571
- return commits
572
573
574
575
-def tags() -> list:
576
- tags = [git.GitTag(*tag) for tag in TAGS]
577
- return tags
+def tags() -> list[git.GitTag]:
+ return [git.GitTag(*tag) for tag in TAGS]
578
579
580
0 commit comments