Skip to content

Commit df31049

Browse files
committed
cleanup: Added whitespace missing on ln138 and fixed indentation of the continuation line to properly align with the opening parans.
1 parent 417e91f commit df31049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shellrosetta/ml_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def save_data(self):
135135
except Exception as e:
136136
print(f"Failed to save suggestions: {e}")
137137

138-
def learn_pattern(self, command: str, translation: str, direction: str,success: bool = True):
138+
def learn_pattern(self, command: str, translation: str, direction: str, success: bool = True):
139139
"""Learn a new command pattern"""
140140
key = f"{direction}:{command}"
141141

@@ -188,7 +188,7 @@ def _classify_command(self, command: str) -> str:
188188
return 'general'
189189

190190
def get_suggestions(self, partial_command: str, direction: str,
191-
limit: int = 5) -> List[Tuple[str, float]]:
191+
limit: int = 5) -> List[Tuple[str, float]]:
192192
"""Get suggestions for a partial command"""
193193
suggestions = []
194194

0 commit comments

Comments
 (0)