Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ ignore = [
"PT007", # TODO(bearomorphism): enable this rule
"PT011", # TODO(bearomorphism): enable this rule
"PT022", # TODO(bearomorphism): enable this rule
"PT030", # TODO(bearomorphism): enable this rule
]
extend-safe-fixes = [
"TC", # Move imports inside/outside TYPE_CHECKING blocks
Expand Down
4 changes: 2 additions & 2 deletions tests/commands/test_bump_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def test_bump_with_major_version_zero_with_plugin(
def test_bump_command_version_type_deprecation(util: UtilFixture):
util.create_file_and_commit("feat: check deprecation on --version-type")

with pytest.warns(DeprecationWarning):
with pytest.warns(DeprecationWarning, match=r".*--version-type.*deprecated"):
util.run_cli(
"bump",
"--prerelease",
Expand All @@ -1044,7 +1044,7 @@ def test_bump_command_version_type_deprecation(util: UtilFixture):
def test_bump_command_version_scheme_priority_over_version_type(util: UtilFixture):
util.create_file_and_commit("feat: check deprecation on --version-type")

with pytest.warns(DeprecationWarning):
with pytest.warns(DeprecationWarning, match=r".*--version-type.*deprecated"):
util.run_cli(
"bump",
"--prerelease",
Expand Down