Skip to content

Commit 175e1ac

Browse files
fix: solve pylint errors
1 parent eb1f2a7 commit 175e1ac

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/linters/.isort.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[settings]
22
profile = black
3+
known_third_party = github3,dateutil,dotenv
4+
known_first_party = auth

stale_repos.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
from os.path import dirname, join
99

1010
import github3
11-
from auth import auth_to_github
1211
from dateutil.parser import parse
1312
from dotenv import load_dotenv
1413

14+
import auth
15+
1516

1617
def main(): # pragma: no cover
1718
"""
@@ -42,7 +43,7 @@ def main(): # pragma: no cover
4243
gh_app_enterprise_only = os.getenv("GITHUB_APP_ENTERPRISE_ONLY")
4344

4445
# Auth to GitHub.com or GHE
45-
github_connection = auth_to_github(
46+
github_connection = auth.auth_to_github(
4647
token,
4748
gh_app_id,
4849
gh_app_installation_id,

0 commit comments

Comments
 (0)