Skip to content

Commit

Permalink
fix: linter issues!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed May 6, 2024
1 parent c514824 commit 4b90ef3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dags/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
fetch_commit_files,
fetch_commit_pull_requests,
fetch_org_details,
fetch_repo_using_id,
get_all_comment_reactions,
get_all_commits,
get_all_issues,
Expand Down Expand Up @@ -121,7 +120,7 @@ def extract_github_organization(module_info):

@task
def transform_github_organization(organization):
logging.info(f"transform_github_organization")
logging.info("transform_github_organization")
return organization

@task
Expand All @@ -142,7 +141,6 @@ def load_github_organization(organization):
# region organization members ETL
@task
def extract_github_organization_members(organization):

for iter, org in enumerate(organization["organizations_info"]):
logging.info(
"Extracting organization members iteration "
Expand Down
2 changes: 1 addition & 1 deletion dags/github/github_api_helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
get_all_review_comments_of_pull_request,
get_all_reviews_of_pull_request,
)
from .repos import get_all_org_repos, get_all_repo_contributors, fetch_repo_using_id
from .repos import fetch_repo_using_id, get_all_org_repos, get_all_repo_contributors
1 change: 1 addition & 0 deletions dags/github/github_api_helpers/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def get_all_org_repos(org_name: str):
)
return all_repos


def fetch_repo_using_id(repo_id: int):
"""
fetch github repository using their id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This file to be removed in future and we would move the features to directory
/dags/hivemind_etl_helpers/src/utils/modules/
"""

from datetime import datetime

from hivemind_etl_helpers.src.utils.mongo import MongoSingleton
Expand Down

0 comments on commit 4b90ef3

Please sign in to comment.