typing: add `from __future__ import annotations` to remaining source files
Most of these look newer than when the original imports referenced in the previous commit were dropped, so these weren't covered by the backout. These were found with: hg files mercurial hgext hgext3rd -I '**.py' -X '**/thirdparty' \ | xargs grep -L 'from __future__ import annotations' All of the `__init__.py` files that finds are empty, so those were ignored and the rest manually edited.
parent
f4733654
No related branches found
No related tags found
Showing
- hgext/purge.py 3 additions, 0 deletionshgext/purge.py
- mercurial/__main__.py 3 additions, 0 deletionsmercurial/__main__.py
- mercurial/admin/chainsaw.py 2 additions, 0 deletionsmercurial/admin/chainsaw.py
- mercurial/admin/verify.py 2 additions, 0 deletionsmercurial/admin/verify.py
- mercurial/admin_commands.py 2 additions, 0 deletionsmercurial/admin_commands.py
- mercurial/bundlecaches.py 2 additions, 0 deletionsmercurial/bundlecaches.py
- mercurial/revlogutils/concurrency_checker.py 2 additions, 0 deletionsmercurial/revlogutils/concurrency_checker.py
- mercurial/revlogutils/debug.py 2 additions, 0 deletionsmercurial/revlogutils/debug.py
- mercurial/revlogutils/randomaccessfile.py 2 additions, 0 deletionsmercurial/revlogutils/randomaccessfile.py
- mercurial/revlogutils/rewrite.py 2 additions, 0 deletionsmercurial/revlogutils/rewrite.py
- mercurial/stabletailgraph/stabletailsort.py 2 additions, 0 deletionsmercurial/stabletailgraph/stabletailsort.py
- mercurial/typelib.py 2 additions, 0 deletionsmercurial/typelib.py
- mercurial/upgrade_utils/auto_upgrade.py 3 additions, 0 deletionsmercurial/upgrade_utils/auto_upgrade.py
- mercurial/utils/memorytop.py 2 additions, 0 deletionsmercurial/utils/memorytop.py
- mercurial/utils/urlutil.py 3 additions, 0 deletionsmercurial/utils/urlutil.py
Loading
-
mentioned in commit 9929d45e4337
-
mentioned in commit 0e2b8c43c83d
-
mentioned in commit 1fd8ddb9cfa2
-
mentioned in commit 4cb75772818d
Please register or sign in to comment