8000 Reformat __all__ to make my life easier · goodwillcoding/github3.py@2d5e615 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d5e615

Browse files
committed
Reformat __all__ to make my life easier
Also reformat and order import from github3.api
1 parent cb87150 commit 2d5e615

File tree

1 file changed

+86
-20
lines changed

1 file changed

+86
-20
lines changed

github3/__init__.py

Lines changed: 86 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,39 @@
1616
__url__,
1717
)
1818
from .api import (
19-
authorize, login, enterprise_login, emojis, gist, gitignore_template,
20-
create_gist, issue, markdown, octocat, organization, pull_request,
21-
followers_of, followed_by, public_gists, gists_by, issues_on,
22-
gitignore_templates, all_repositories, all_users, all_events,
23-
organizations_with, repositories_by, starred_by, subscriptions_for,
24-
rate_limit, repository, search_code, search_repositories, search_users,
25-
search_issues, user, zen
19+
all_events,
20+
all_repositories,
21+
all_users,
22+
authorize,
23+
create_gist,
24+
emojis,
25+
enterprise_login,
26+
followed_by,
27+
followers_of,
28+
gist,
29+
gists_by,
30+
gitignore_template,
31+
gitignore_templates,
32+
issue,
33+
issues_on,
34+
login,
35+
markdown,
36+
octocat,
37+
organization,
38+
organizations_with,
39+
public_gists,
40+
pull_request,
41+
rate_limit,
42+
repositories_by,
43+
repository,
44+
search_code,
45+
search_issues,
46+
search_repositories,
47+
search_users,
48+
starred_by,
49+
subscriptions_for,
50+
user,
51+
zen
2652
)
2753
from .github import GitHub, GitHubEnterprise, GitHubStatus
2854
from .exceptions import (
@@ -32,19 +58,59 @@
3258
)
3359

3460
__all__ = (
35-
'AuthenticationFailed', 'BadRequest', 'ForbiddenError', 'GitHub',
36-
'GitHubEnterprise', 'GitHubError', 'GitHubStatus',
37-
'MethodNotAllowed', 'NotAcceptable', 'NotFoundError', 'ServerError',
38-
'UnprocessableEntity', 'authorize', 'login', 'enterprise_login', 'emojis',
39-
'gist', 'gitignore_template', 'create_gist', 'issue', 'markdown',
40-
'octocat', 'organization', 'pull_request', 'followers_of', 'followed_by',
41-
'public_gists', 'gists_by', 'issues_on', 'gitignore_templates',
42-
'all_repositories', 'all_users', 'all_events', 'organizations_with',
43-
'repositories_by', 'starred_by', 'subscriptions_for', 'rate_limit',
44-
'repository', 'search_code', 'search_repositories', 'search_users',
45-
'search_issues', 'user', 'zen',
61+
'AuthenticationFailed',
62+
'BadRequest',
63+
'ForbiddenError',
64+
'GitHub',
65+
'GitHubEnterprise',
66+
'GitHubError',
67+
'GitHubStatus',
68+
'MethodNotAllowed',
69+
'NotAcceptable',
70+
'NotFoundError',
71+
'ServerError',
72+
'UnprocessableEntity',
73+
'authorize',
74+
'login',
75+
'enterprise_login',
76+
'emojis',
77+
'gist',
78+
'gitignore_template',
79+
'create_gist',
80+
'issue',
81+
'markdown',
82+
'octocat',
83+
'organization',
84+
'pull_request',
85+
'followers_of',
86+
'followed_by',
87+
'public_gists',
88+
'gists_by',
89+
'issues_on',
90+
'gitignore_templates',
91+
'all_repositories',
92+
'all_users',
93+
'all_events',
94+
'organizations_with',
95+
'repositories_by',
96+
'starred_by',
97+
'subscriptions_for',
98+
'rate_limit',
99+
'repository',
100+
'search_code',
101+
'search_repositories',
102+
'search_users',
103+
'search_issues',
104+
'user',
105+
'zen',
46106
# Metadata attributes
47-
'__package_name__', '__title__', '__author__', '__author_email__',
48-
'__license__', '__copyright__', '__version__', '__version_info__',
107+
'__package_name__',
108+
'__title__',
109+
'__author__',
110+
'__author_email__',
111+
'__license__',
112+
'__copyright__',
113+
'__version__',
114+
'__version_info__',
49115
'__url__',
50116
)

0 commit comments

Comments
 (0)
0