Mercurial > public > mercurial-scm > hg
diff mercurial/interfaces/repository.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 | b52f2b365eff |
children | f19a3f1437f3 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Sun Jan 05 22:26:16 2025 -0500 +++ b/mercurial/interfaces/repository.py Mon Jan 06 00:30:55 2025 -0500 @@ -1234,7 +1234,7 @@ """Return the flags value for a path (default: empty bytestring).""" @abc.abstractmethod - def copy(self) -> 'imanifestdict': + def copy(self) -> imanifestdict: """Return a copy of this manifest.""" @abc.abstractmethod