Skip to content

Commit 2bd8eea

Browse files
committed
Bump version and remove need for flake8: noqa in __init__.py
1 parent 8f54162 commit 2bd8eea

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

github3/__init__.py

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,28 @@
1414
__author__ = 'Ian Cordasco'
1515
__license__ = 'Modified BSD'
1616
__copyright__ = 'Copyright 2012-2014 Ian Cordasco'
17-
__version__ = '0.9.0'
17+
__version__ = '1.0.0'
1818
__version_info__ = tuple(int(i) for i in __version__.split('.'))
1919

20-
from github3.api import *
20+
from github3.api import (
21+
authorize, login, enterprise_login, emojis, gist, gitignore_template,
22+
create_gist, issue, markdown, octocat, organization, pull_request,
23+
followers_of, followed_by, public_gists, gists_by, repository_issues,
24+
gitignore_templates, all_repositories, all_users, all_events,
25+
organizations_with, repositories_by, starred_by, subscriptions_for,
26+
rate_limit, repository, search_code, search_repositories, search_users,
27+
user, zen
28+
)
2129
from github3.github import GitHub, GitHubEnterprise, GitHubStatus
2230
from github3.models import GitHubError
2331

24-
# flake8: noqa
32+
__all__ = (
33+
'GitHub', 'GitHubEnterprise', 'GitHubError', 'GitHubStatus', 'authorize',
34+
'login', 'enterprise_login', 'emojis', 'gist', 'gitignore_template',
35+
'create_gist', 'issue', 'markdown', 'octocat', 'organization',
36+
'pull_request', 'followers_of', 'followed_by', 'public_gists', 'gists_by',
37+
'repository_issues', 'gitignore_templates', 'all_repositories',
38+
'all_users', 'all_events', 'organizations_with', 'repositories_by',
39+
'starred_by', 'subscriptions_for', 'rate_limit', 'repository',
40+
'search_code', 'search_repositories', 'search_users', 'user', 'zen',
41+
)

0 commit comments

Comments
 (0)