summaryrefslogtreecommitdiffstats
path: root/pre_commit_hooks/removed.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre_commit_hooks/removed.py')
-rw-r--r--pre_commit_hooks/removed.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pre_commit_hooks/removed.py b/pre_commit_hooks/removed.py
index 236cbf8..6f6c7b7 100644
--- a/pre_commit_hooks/removed.py
+++ b/pre_commit_hooks/removed.py
@@ -1,9 +1,10 @@
+from __future__ import annotations
+
import sys
-from typing import Optional
from typing import Sequence
-def main(argv: Optional[Sequence[str]] = None) -> int:
+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(