Skip to content

Commit cb437c7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 51a7151 commit cb437c7

21 files changed

Lines changed: 24 additions & 27 deletions

src/github3/actions/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
88
See also: http://developer.github.com/v3/actions/
99
"""
10-
from .secrets import (
11-
OrganizationSecret,
12-
RepositorySecret,
13-
SharedOrganizationSecret,
14-
)
10+
from .secrets import OrganizationSecret
11+
from .secrets import RepositorySecret
12+
from .secrets import SharedOrganizationSecret
1513

1614
__all__ = (
1715
"OrganizationSecret",

src/github3/actions/secrets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""This module contains all the classes relating to GitHub Actions secrets."""
2-
32
import typing
43

54
from .. import models

src/github3/orgs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
from uritemplate import URITemplate
66

7+
from . import exceptions
78
from . import models
89
from . import users
10+
from .actions import secrets as actionsecrets
911
from .decorators import requires_auth
1012
from .events import Event
1113
from .projects import Project
1214
from .repos import Repository
1315
from .repos import ShortRepository
14-
from . import exceptions
15-
from .actions import secrets as actionsecrets
1616

1717
if t.TYPE_CHECKING:
1818
from . import users as _users

src/github3/repos/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"""
77
import base64
88
import json as jsonlib
9+
import typing
910

1011
import uritemplate as urit
11-
import typing
1212

1313
from . import branch
1414
from . import comment

tests/cassettes/OrganizationSecrets_add_repo_to_shared_secret.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,4 +757,4 @@
757757
}
758758
],
759759
"recorded_with": "betamax/0.8.1"
760-
}
760+
}

tests/cassettes/OrganizationSecrets_create_or_update_secret.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,4 +1030,4 @@
10301030
}
10311031
],
10321032
"recorded_with": "betamax/0.8.1"
1033-
}
1033+
}

tests/cassettes/OrganizationSecrets_delete_repo_from_shared_secret.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,4 +757,4 @@
757757
}
758758
],
759759
"recorded_with": "betamax/0.8.1"
760-
}
760+
}

tests/cassettes/OrganizationSecrets_delete_secret.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,4 +373,4 @@
373373
}
374374
],
375375
"recorded_with": "betamax/0.8.1"
376-
}
376+
}

tests/cassettes/OrganizationSecrets_public_key.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@
265265
}
266266
],
267267
"recorded_with": "betamax/0.8.1"
268-
}
268+
}

tests/cassettes/OrganizationSecrets_secret.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@
265265
}
266266
],
267267
"recorded_with": "betamax/0.8.1"
268-
}
268+
}

0 commit comments

Comments
 (0)