tach by default ignores dependencies if the import statement is wrapped by if TYPE_CHECKING:. Is that something that is possible with ruff analyze graph as well, and would you consider adding it if not yet possible? (from another thread on the issue tracker I found Grimp, which supports this with graph = grimp.build_graph('mypackage', exclude_type_checking_imports=True).
came up in #20701
@seddonym