We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c130da3 commit 802ae29Copy full SHA for 802ae29
tests/commands/test_bump_command.py
@@ -1494,6 +1494,16 @@ def test_changelog_config_flag_merge_prerelease_only_prerelease_present(
1494
file_regression.check(out, extension=".md")
1495
1496
1497
+@pytest.mark.usefixtures("tmp_commitizen_project")
1498
+def test_bump_deprecate_files_only(util: UtilFixture):
1499
+ util.create_file_and_commit("feat: new file")
1500
+ with (
1501
+ pytest.warns(DeprecationWarning, match=r".*--files-only.*deprecated"),
1502
+ pytest.raises(ExpectedExit),
1503
+ ):
1504
+ util.run_cli("bump", "--yes", "--files-only")
1505
+
1506
1507
@pytest.mark.parametrize(
1508
("prerelease", "merge"),
1509
[
0 commit comments