8000 Reformat our code with black · OneShed/github3.py@253b6cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 253b6cd

Browse files
committed
Reformat our code with black
Let's standardize on one format for the entire code-base using automation. This means we shouldn't need to nitpick each other on PRs or anything else going forward.
1 parent b699518 commit 253b6cd

File tree

113 files changed

+6819
-6361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+6819
-6361
lines changed

src/github3/__about__.py

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
"""The module that holds much of the metadata about github3.py."""
2-
__package_name__ = 'github3.py'
3-
__title__ = 'github3'
4-
__author__ = 'Ian Stapleton Cordasco'
5-
__author_email__ = 'graffatcolmingov@gmail.com'
6-
__license__ = 'Modified BSD'
7-
__copyright__ = 'Copyright 2012-2018 Ian Stapleton Cordasco'
8-
__version__ = '1.2.0'
9-
__version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit())
10-
__url__ = 'https://github3.readthedocs.io'
2+
__package_name__ = "github3.py"
3+
__title__ = "github3"
4+
__author__ = "Ian Stapleton Cordasco"
5+
__author_email__ = "graffatcolmingov@gmail.com"
6+
__license__ = "Modified BSD"
7+
__copyright__ 10000 = "Copyright 2012-2018 Ian Stapleton Cordasco"
8+
__version__ = "1.2.0"
9+
__version_info__ = tuple(
10+
int(i) for i in __version__.split(".") if i.isdigit()
11+
)
12+
__url__ = "https://github3.readthedocs.io"
1113

1214
__all__ = (
13-
'__package_name__', '__title__', '__author__', '__author_email__',
14-
'__license__', '__copyright__', '__version__', '__version_info__',
15-
'__url__',
15+
"__package_name__",
16+
"__title__",
17+
"__author__",
18+
"__author_email__",
19+
"__license__",
20+
"__copyright__",
21+
"__version__",
22+
"__version_info__",
23+
"__url__",
1624
)

src/github3/__init__.py

Lines changed: 55 additions & 49 deletions
F438
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@
1111
"""
1212

1313
from .__about__ import (
14-
__package_name__, __title__, __author__, __author_email__,
15-
__license__, __copyright__, __version__, __version_info__,
14+
__package_name__,
15+
__title__,
16+
__author__,
17+
__author_email__,
18+
__license__,
19+
__copyright__,
20+
__version__,
21+
__version_info__,
1622
__url__,
1723
)
1824
from .api import (
@@ -48,57 +54,57 @@
4854
starred_by,
4955
subscriptions_for,
5056
user,
51-
zen
57+
zen,
5258
)
5359
from .github import GitHub, GitHubEnterprise, GitHubStatus
5460
from .exceptions import GitHubError
5561

5662
__all__ = (
57-
'GitHub',
58-
'GitHubEnterprise',
59-
'GitHubError',
60-
'GitHubStatus',
61-
'authorize',
62-
'login',
63-
'enterprise_login',
64-
'emojis',
65-
'gist',
66-
'gitignore_template',
67-
'create_gist',
68-
'issue',
69-
'markdown',
70-
'octocat',
71-
'organization',
72-
'pull_request',
73-
'followers_of',
74-
'followed_by',
75-
'public_gists',
76-
'gists_by',
77-
'issues_on',
78-
'gitignore_templates',
79-
'all_repositories',
80-
'all_users',
81-
'all_events',
82-
'organizations_with',
83-
'repositories_by',
84-
'starred_by',
85-
'subscriptions_for',
86-
'rate_limit',
87-
'repository',
88-
'search_code',
89-
'search_repositories',
90-
'search_users',
91-
'search_issues',
92-
'user',
93-
'zen',
63+
"GitHub",
64+
"GitHubEnterprise",
65+
"GitHubError",
66+
"GitHubStatus",
67+
"authorize",
68+
"login",
69+
"enterprise_login",
70+
"emojis",
71+
"gist",
72+
"gitignore_template",
73+
"create_gist",
74+
"issue",
75+
"markdown",
76+
"octocat",
77+
"organization",
78+
"pull_request",
79+
"followers_of",
80+
"followed_by",
81+
"public_gists",
82+
"gists_by",
83+
"issues_on",
84+
"gitignore_templates",
85+
"all_repositories",
86+
"all_users",
87+
"all_events",
88+
"organizations_with",
89+
"repositories_by",
90+
"starred_by",
91+
"subscriptions_for",
92+
"rate_limit",
93+
"repository",
94+
"search_code",
95+
"search_repositories",
96+
"search_users",
97+
"search_issues",
98+
"user",
99+
"zen",
94100
# Metadata attributes
95-
'__package_name__',
96-
'__title__',
97-
'__author__',
98-
'__author_email__',
99-
'__license__',
100-
'__copyright__',
101-
'__version__',
102-
'__version_info__',
103-
'__url__',
101+
"__package_name__",
102+
"__title__",
103+
"__author__",
104+
"__author_email__",
105+
"__license__",
106+
"__copyright__",
107+
"__version__",
108+
"__version_info__",
109+
"__url__",
104110
)

0 commit comments

Comments
 (0)
0