Skip to content
Closed
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
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "ultimate-python-upgrader"
version = "1.3.0"
version = "1.4.0"
authors = [
{ name="Sanyam Sanjay Sharma", email="infta2020+pypi@gmail.com" },
]
Expand Down Expand Up @@ -37,6 +37,10 @@ test = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0"
]
dev = [
"black>=24.4.0",
"ruff>=0.4.0"
]

[tool.hatch.build.targets.wheel]
packages = ["upgrade_tool"]
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ def test_upgrade_failure_with_no_rollback_enabled(mock_run):
assert status == UpgradeStatus.UPGRADE_FAILED
assert "Upgrade failed!" in error
# With no_rollback=True, only one call to subprocess.run should be made
mock_run.assert_called_once()
mock_run.assert_called_once()
2 changes: 1 addition & 1 deletion upgrade_tool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,4 @@ def upgrade(


if __name__ == "__main__":
app()
app()
Loading