@@ -426,10 +426,7 @@ def test_no_package_type_detected(project_dir, create_changelog, init_git_repo):
426426 assert config ["CURRENT_VERSION" ] is None
427427
428428
429- # pyproject.toml Package Tests
430- def test_pyproject_toml_package_detection (
431- project_dir , create_changelog , init_git_repo
432- ):
429+ def test_pyproject_toml_package_detection (project_dir , create_changelog , init_git_repo ):
433430 """Tests that python package type is detected when pyproject.toml exists."""
434431 (project_dir / "pyproject.toml" ).write_text (
435432 '[project]\n name = "my-package"\n version = "1.2.3"\n '
@@ -442,9 +439,7 @@ def test_pyproject_toml_package_detection(
442439 assert config ["CURRENT_VERSION" ] == [1 , 2 , 3 , "final" ]
443440
444441
445- def test_pyproject_toml_missing_version (
446- project_dir , create_changelog , init_git_repo
447- ):
442+ def test_pyproject_toml_missing_version (project_dir , create_changelog , init_git_repo ):
448443 """Tests pyproject.toml without a version field."""
449444 (project_dir / "pyproject.toml" ).write_text ('[project]\n name = "my-package"\n ' )
450445 create_changelog (project_dir )
@@ -454,9 +449,7 @@ def test_pyproject_toml_missing_version(
454449 assert config ["CURRENT_VERSION" ] is None
455450
456451
457- def test_pyproject_toml_invalid_version (
458- project_dir , create_changelog , init_git_repo
459- ):
452+ def test_pyproject_toml_invalid_version (project_dir , create_changelog , init_git_repo ):
460453 """Tests pyproject.toml with an invalid version format."""
461454 (project_dir / "pyproject.toml" ).write_text (
462455 '[project]\n name = "my-package"\n version = "1.2"\n '
0 commit comments