Coverage for circular_deps / resolvers / base.py: 86%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.3, created at 2026-02-08 15:04 -0800

1from __future__ import annotations 

2 

3from abc import ABC, abstractmethod 

4from typing import TYPE_CHECKING 

5 

6if TYPE_CHECKING: 

7 pass 

8 

9 

10class PathResolver(ABC): 

11 @abstractmethod 

12 def resolve(self, module, current_file, root_dir): 

13 """Return resolved absolute path or None if external.""" 

14 pass