Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
verbose-void committed Mar 8, 2023
1 parent 7885b12 commit 34f4c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mindflow/core/git/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run_diff(args: Tuple[str]) -> str:


def batch_git_diffs(
file_diffs: List[Dict[str, str]], token_limit: int
file_diffs: Dict[str, str], token_limit: int
) -> List[List[Tuple[str, str]]]:
batches = []
current_batch: List = []
Expand Down
2 changes: 1 addition & 1 deletion mindflow/utils/diff_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def parse_git_diff(diff_str: str):
diffs = {}
current_file = None
current_diff = []
current_diff = [] # type: ignore

excluded_files = []

Expand Down

0 comments on commit 34f4c11

Please sign in to comment.