comparison mercurial/upgrade_utils/actions.py @ 52645: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 0e11e532c958
children f066fc0bdc7a
comparison
equal deleted inserted replaced
52644:e627cc25b6f3 52645:4cb75772818d
108 108
109 # Can this action be run on a share instead of its mains repository 109 # Can this action be run on a share instead of its mains repository
110 compatible_with_share = False 110 compatible_with_share = False
111 111
112 112
113 allformatvariant: List[Type['formatvariant']] = [] 113 allformatvariant: List[Type[formatvariant]] = []
114 114
115 115
116 def registerformatvariant(cls): 116 def registerformatvariant(cls):
117 allformatvariant.append(cls) 117 allformatvariant.append(cls)
118 return cls 118 return cls