diff --git a/pyproject.toml b/pyproject.toml index 637f4e4..91d488b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }, ] @@ -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"] \ No newline at end of file diff --git a/tests/test_main.py b/tests/test_main.py index ba48721..dd8658e 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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() \ No newline at end of file diff --git a/upgrade_tool/main.py b/upgrade_tool/main.py index 63812f0..12563e1 100644 --- a/upgrade_tool/main.py +++ b/upgrade_tool/main.py @@ -306,4 +306,4 @@ def upgrade( if __name__ == "__main__": - app() + app() \ No newline at end of file