diff --git a/src/pip_deepfreeze/__main__.py b/src/pip_deepfreeze/__main__.py index 05fda1b..76f9839 100644 --- a/src/pip_deepfreeze/__main__.py +++ b/src/pip_deepfreeze/__main__.py @@ -66,8 +66,7 @@ def sync( [], "--pre-sync-command", help=( - "Command to run before the sync operation. " - "Can be specified multiple times." + "Command to run before the sync operation. Can be specified multiple times." ), ), post_sync_commands: List[str] = typer.Option( diff --git a/tests/test_fixup_direct_url.py b/tests/test_fixup_direct_url.py index 3f518da..1f64ef1 100644 --- a/tests/test_fixup_direct_url.py +++ b/tests/test_fixup_direct_url.py @@ -25,11 +25,11 @@ def test_fixup_vcs_direct_url_branch_fake_commit(virtualenv_python: str) -> None frozen = "\n".join(pip_freeze(installer, virtualenv_python)) assert "git+https://github.com/PyPA/pip-test-package" in frozen # fake commit NOT in direct_url.json - assert f"git+https://github.com/PyPA/pip-test-package@{'f'*40}" not in frozen + assert f"git+https://github.com/PyPA/pip-test-package@{'f' * 40}" not in frozen pip_fixup_vcs_direct_urls(virtualenv_python) frozen = "\n".join(pip_freeze(installer, virtualenv_python)) # fake commit in direct_url.json - assert f"git+https://github.com/PyPA/pip-test-package@{'f'*40}" in frozen + assert f"git+https://github.com/PyPA/pip-test-package@{'f' * 40}" in frozen @pytest.mark.parametrize("installer", [PipInstaller(), UvpipInstaller()])