Skip to content

Commit 98350c3

Browse files
committed
Remove type hints
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 69fc18a commit 98350c3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scanpipe/pipes/reachability.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from enum import Enum
2727
from pathlib import Path
2828

29-
from git import Repo
3029
from git.diff import NULL_TREE
3130
from scancode.api import get_file_info
3231

@@ -77,7 +76,7 @@ def detect_language_with_scancode(file_path, content):
7776

7877

7978
class PatchAnalyzer:
80-
def __init__(self, repo: Repo, commit_hash):
79+
def __init__(self, repo, commit_hash):
8180
self.repo = repo
8281
self.commit = repo.commit(commit_hash)
8382
self.parent_commit = self.commit.parents[0] if self.commit.parents else None

0 commit comments

Comments
 (0)