diff --git a/src/repilot/cli/main.py b/src/repilot/cli/main.py index f402eb3..2946c06 100644 --- a/src/repilot/cli/main.py +++ b/src/repilot/cli/main.py @@ -3,8 +3,8 @@ from datetime import datetime from pathlib import Path from typing import Callable, TypeVar -from repilot.codegen import Codegen +from repilot.codegen import Codegen from repilot.config import ( LMInferenceConfig, MetaConfig, diff --git a/src/repilot/codegen.py b/src/repilot/codegen.py index 458836d..368c873 100644 --- a/src/repilot/codegen.py +++ b/src/repilot/codegen.py @@ -210,9 +210,7 @@ def init_analyzers() -> tuple[list[Connection], list[TextFile]]: # Buggy text files base_path = Path(self.proj_root).parent.absolute() # proj_path = Path(self.proj_root).relative_to(base_path) - text_file = TextFile.read( - base_path, self.file_path.relative_to(base_path) - ) + text_file = TextFile.read(base_path, self.file_path.relative_to(base_path)) buggy_text_files = [text_file] # Initialize each buggy file for LSP