Skip to content

Commit

Permalink
fix: solve pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardojdsilva87 committed Jan 6, 2025
1 parent eb1f2a7 commit 175e1ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/linters/.isort.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[settings]
profile = black
known_third_party = github3,dateutil,dotenv
known_first_party = auth
5 changes: 3 additions & 2 deletions stale_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
from os.path import dirname, join

import github3
from auth import auth_to_github
from dateutil.parser import parse
from dotenv import load_dotenv

import auth


def main(): # pragma: no cover
"""
Expand Down Expand Up @@ -42,7 +43,7 @@ def main(): # pragma: no cover
gh_app_enterprise_only = os.getenv("GITHUB_APP_ENTERPRISE_ONLY")

# Auth to GitHub.com or GHE
github_connection = auth_to_github(
github_connection = auth.auth_to_github(
token,
gh_app_id,
gh_app_installation_id,
Expand Down

0 comments on commit 175e1ac

Please sign in to comment.