comparison 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
comparison
equal deleted inserted replaced
52765:38095e4e9046 52766:4eede65d68cf
9 # - to type your code: use FooBarT from `mercurial.interface.types` 9 # - to type your code: use FooBarT from `mercurial.interface.types`
10 # - to subclass <FooBar>: use IFooBar from `mercurial.interface.foo_bar` 10 # - to subclass <FooBar>: use IFooBar from `mercurial.interface.foo_bar`
11 11
12 from __future__ import annotations 12 from __future__ import annotations
13 13
14 from ._basetypes import ( 14 from ._basetypes import ( # noqa: F401 (ignore imported but not used)
15 FsPathT, 15 FsPathT,
16 HgPathT, 16 HgPathT,
17 UserMsgT, 17 UserMsgT,
18 ) 18 )
19 19