Skip to content

Commit 955bedf

Browse files
linter 2
1 parent 80f4177 commit 955bedf

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

ForgejoRepoAPI.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from interface_wrapper import (
2+
IRepositoryAPI,
3+
)
4+
5+
6+
class ForgejoRepoAPI(IRepositoryAPI):
7+
...

interface_wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ class RepositoryFactory:
170170
@staticmethod
171171
def create_api(source: str, client) -> IRepositoryAPI:
172172
from GitHubRepoAPI import GitHubRepoAPI
173+
from ForgejoRepoAPI import ForgejoRepoAPI
173174

174175
if client is None:
175176
raise ValueError("Client cannot be None")

pull_requests_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_info(obj, attr):
156156
}
157157

158158
if log_comments:
159-
comments = client.get_comments(repo, pull)
159+
comments = client.get_comments(repository, pull)
160160
if len(comments) > 0:
161161
for comment in comments:
162162
info = info_tmp

0 commit comments

Comments
 (0)