# Path: pre_commit_hooks/removed.py
# def main(argv: Sequence[str] | None = None) -> int:
#     argv = argv if argv is not None else sys.argv[1:]
#     hookid, new_hookid, url = argv[:3]
#     raise SystemExit(
#         f'`{hookid}` has been removed -- use `{new_hookid}` from {url}',
#     )


import pytest
from pre_commit_hooks.removed import main
from __future__ import annotations




def test_always_fails():
    with pytest.raises(SystemExit) as excinfo:

# Path: pre_commit_hooks/removed.py
# def main(argv: Sequence[str] | None = None) -> int:
#     argv = argv if argv is not None else sys.argv[1:]
#     hookid, new_hookid, url = argv[:3]
#     raise SystemExit(
#         f'`{hookid}` has been removed -- use `{new_hookid}` from {url}',
#     )


# Path: tests/removed_test.py
import pytest
from pre_commit_hooks.removed import main

from __future__ import annotations




def test_always_fails():
    with pytest.raises(SystemExit) as excinfo:

        main((