Skip to content

Commit 5ec9c48

Browse files
committed
style(tests): remove unused type ignore
1 parent a97c160 commit 5ec9c48

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/commands/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ def config():
1313
return _config
1414

1515

16-
@pytest.fixture() # type: ignore
16+
@pytest.fixture()
1717
def changelog_path() -> str:
1818
return os.path.join(os.getcwd(), "CHANGELOG.md")
1919

2020

21-
@pytest.fixture() # type: ignore
21+
@pytest.fixture()
2222
def config_path() -> str:
2323
return os.path.join(os.getcwd(), "pyproject.toml")

tests/test_changelog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
]
470470

471471

472-
@pytest.fixture # type: ignore
472+
@pytest.fixture
473473
def gitcommits() -> list:
474474
commits = [
475475
git.GitCommit(
@@ -484,13 +484,13 @@ def gitcommits() -> list:
484484
return commits
485485

486486

487-
@pytest.fixture # type: ignore
487+
@pytest.fixture
488488
def tags() -> list:
489489
tags = [git.GitTag(*tag) for tag in TAGS]
490490
return tags
491491

492492

493-
@pytest.fixture # type: ignore
493+
@pytest.fixture
494494
def changelog_content() -> str:
495495
changelog_path = "tests/CHANGELOG_FOR_TEST.md"
496496
with open(changelog_path, "r") as f:

tests/test_changelog_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"""
2626

2727

28-
@pytest.fixture # type: ignore
28+
@pytest.fixture
2929
def changelog_content() -> str:
3030
changelog_path = "tests/CHANGELOG_FOR_TEST.md"
3131
with open(changelog_path, "r") as f:

0 commit comments

Comments
 (0)