Mercurial > public > mercurial-scm > hg
comparison mercurial/hg.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 | e627cc25b6f3 |
children | 0f2268783c11 |
comparison
equal
deleted
inserted
replaced
52644:e627cc25b6f3 | 52645:4cb75772818d |
---|---|
1610 | 1610 |
1611 | 1611 |
1612 # Files of interest | 1612 # Files of interest |
1613 # Used to check if the repository has changed looking at mtime and size of | 1613 # Used to check if the repository has changed looking at mtime and size of |
1614 # these files. | 1614 # these files. |
1615 foi: "List[Tuple[str, bytes]]" = [ | 1615 foi: List[Tuple[str, bytes]] = [ |
1616 ('spath', b'00changelog.i'), | 1616 ('spath', b'00changelog.i'), |
1617 ('spath', b'phaseroots'), # ! phase can change content at the same size | 1617 ('spath', b'phaseroots'), # ! phase can change content at the same size |
1618 ('spath', b'obsstore'), | 1618 ('spath', b'obsstore'), |
1619 ('path', b'bookmarks'), # ! bookmark can change content at the same size | 1619 ('path', b'bookmarks'), # ! bookmark can change content at the same size |
1620 ] | 1620 ] |