diff hgext/extdiff.py @ 52670:4cb75772818d

pyupgrade: drop the quoting around type annotations This is the `typing_pep563` fixer in `pyupgrade`. Quoting to delay evaluation hasn't been necessary since adding `from __future__ import annotations` in 1c5810ce737e.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 06 Jan 2025 00:30:55 -0500
parents d1b54c152673
children
line wrap: on
line diff
--- a/hgext/extdiff.py	Sun Jan 05 22:26:16 2025 -0500
+++ b/hgext/extdiff.py	Mon Jan 06 00:30:55 2025 -0500
@@ -164,8 +164,8 @@
 
 
 def snapshot(
-    ui: "uimod.ui",
-    repo: "localrepo.localrepository",
+    ui: uimod.ui,
+    repo: localrepo.localrepository,
     files,
     node: Optional[bytes],
     tmproot: bytes,