Refactor build_paths to staticmethod
This commit is contained in:
parent
98eed4f2ed
commit
1c5f8070e5
@ -17,7 +17,8 @@ class IResolver:
|
|||||||
This class contains all the logic to load custom classes
|
This class contains all the logic to load custom classes
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def build_search_paths(self, config, current_path: Path, user_subdir: Optional[str] = None,
|
@staticmethod
|
||||||
|
def build_search_paths(config, current_path: Path, user_subdir: Optional[str] = None,
|
||||||
extra_dir: Optional[str] = None) -> List[Path]:
|
extra_dir: Optional[str] = None) -> List[Path]:
|
||||||
|
|
||||||
abs_paths: List[Path] = [current_path]
|
abs_paths: List[Path] = [current_path]
|
||||||
|
Loading…
Reference in New Issue
Block a user