Refactor build_paths to staticmethod

This commit is contained in:
Matthias 2019-12-23 09:53:55 +01:00
parent 98eed4f2ed
commit 1c5f8070e5

View File

@ -17,7 +17,8 @@ class IResolver:
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]:
abs_paths: List[Path] = [current_path]