Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/types.py @ 52766:4eede65d68cf
lint: add comments for disabling unused import warnings where appropriate
As mentioned in the previous commit, this doesn't actually placate `pyflakes`.
But it does cause PyCharm to not show the imports as greyed out, so presumably
it helps other IDEs too.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 06 Feb 2025 20:43:34 -0500 |
parents | 2a5450ecde20 |
children | ae2848198462 |
line wrap: on
line diff
--- a/mercurial/interfaces/types.py Thu Feb 06 20:37:22 2025 -0500 +++ b/mercurial/interfaces/types.py Thu Feb 06 20:43:34 2025 -0500 @@ -11,7 +11,7 @@ from __future__ import annotations -from ._basetypes import ( +from ._basetypes import ( # noqa: F401 (ignore imported but not used) FsPathT, HgPathT, UserMsgT,