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

Commit8c5b3e9

Browse files
committed
Start adding type-stubs to the project
This adds stub files for every file in the project and starts buildingthings out from the main API: github3.github.GitHub
1 parent6f80592 commit8c5b3e9

Some content is hidden

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

55 files changed

+264
-0
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ build/
1919
.cache/
2020
tests/id_rsa
2121
*.DS_Store
22+
.mypy_cache

‎.travis.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ matrix:
2727
env:TOXENV=py37
2828
-python:pypy
2929
env:TOXENV=pypy
30+
-python:3.6
31+
env:TOXENV=teststubs
3032
-env:TOXENV=py27-flake8
3133
-env:TOXENV=py34-flake8
3234
-env:TOXENV=docstrings

‎github3/__about__.pyi‎

Whitespace-only changes.

‎github3/__init__.pyi‎

Whitespace-only changes.

‎github3/api.pyi‎

Whitespace-only changes.

‎github3/auths.pyi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""This module contains the type stubs for github3.auths."""
2+
3+
classAuthorization:
4+
...

‎github3/decorators.pyi‎

Whitespace-only changes.

‎github3/events.pyi‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""Type stubs for github3.events."""
2+
3+
classEvent:
4+
...

‎github3/exceptions.pyi‎

Whitespace-only changes.

‎github3/gists/__init__.pyi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from .fileimportGistFile
2+
from .gistimportGist,ShortGist

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp