Skip to content

Commit 5c66771

Browse files
committed
bug: isort and black were conflicting, adding a pyproject.toml to fix this.
1 parent f083d56 commit 5c66771

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

githubauthlib/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@
55
from various system-specific secure storage solutions.
66
"""
77

8-
from .github_auth import (CredentialHelperError, GitHubAuthError,
9-
InvalidTokenError, PlatformNotSupportedError,
10-
TokenNotFoundError, get_github_token)
8+
from .github_auth import (
9+
CredentialHelperError,
10+
GitHubAuthError,
11+
InvalidTokenError,
12+
PlatformNotSupportedError,
13+
TokenNotFoundError,
14+
get_github_token,
15+
)
1116

1217
__version__ = "2.0.0"
1318
__author__ = "garotm"

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tool.black]
2+
line-length = 88
3+
target-version = ['py39']
4+
5+
[tool.isort]
6+
profile = "black"
7+
multi_line_output = 3
8+
line_length = 88

tests/test_github_auth.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
import unittest
55
from unittest.mock import patch
66

7-
from githubauthlib import (CredentialHelperError, InvalidTokenError,
8-
PlatformNotSupportedError, TokenNotFoundError,
9-
get_github_token)
7+
from githubauthlib import (
8+
CredentialHelperError,
9+
InvalidTokenError,
10+
PlatformNotSupportedError,
11+
TokenNotFoundError,
12+
get_github_token,
13+
)
1014

1115

1216
class TestGitHubAuth(unittest.TestCase):

0 commit comments

Comments
 (0)