Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit253b6cd

Browse files
committed
Reformat our code with black
Let's standardize on one format for the entire code-base usingautomation. This means we shouldn't need to nitpick each other on PRs oranything else going forward.
1 parentb699518 commit253b6cd

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)foriin__version__.split('.')ifi.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__="Copyright 2012-2018 Ian Stapleton Cordasco"
8+
__version__="1.2.0"
9+
__version_info__=tuple(
10+
int(i)foriin__version__.split(".")ifi.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
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 .apiimport (
@@ -48,57 +54,57 @@
4854
starred_by,
4955
subscriptions_for,
5056
user,
51-
zen
57+
zen,
5258
)
5359
from .githubimportGitHub,GitHubEnterprise,GitHubStatus
5460
from .exceptionsimportGitHubError
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)

[8]ページ先頭

©2009-2025 Movatter.jp