Skip to content

Commit 3bee6e6

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

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

AUTHORS.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,4 @@ Contributors
225225

226226
- Thomas Buchner (@MrBatschner)
227227

228-
- Chris Cotter (@ccotter)
228+
- Chris Cotter (@ccotter)

src/github3/actions/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
See also: http://developer.github.com/v3/actions/
99
"""
10+
1011
from .secrets import OrganizationSecret
1112
from .secrets import RepositorySecret
1213
from .secrets import SharedOrganizationSecret

src/github3/actions/secrets.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""This module contains all the classes relating to GitHub Actions secrets."""
2+
23
import typing
34

45
from .. import models
56

67

78
class PublicKey(models.GitHubCore):
8-
99
"""Object representing a Public Key for GitHub Actions secrets.
1010
1111
See https://docs.github.com/en/rest/actions/secrets for more details.
@@ -31,7 +31,6 @@ def __str__(self):
3131

3232

3333
class _Secret(models.GitHubCore):
34-
3534
"""Base class for all secrets for GitHub Actions.
3635
3736
See https://docs.github.com/en/rest/actions/secrets for more details.

tests/integration/test_orgs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Integration tests for methods implemented on Organization."""
2+
23
import datetime
34

45
import pytest
@@ -422,7 +423,6 @@ def test_hooks(self):
422423

423424

424425
class TestOrganizationSecrets(IntegrationHelper):
425-
426426
"""Integration tests for organization secrets."""
427427

428428
encrypted_data = "9JgL1eNoSjB/9cmjYUI00ojLcLxidIgvspXw/g+vmEvlIgqafYXTe1sbVEsz3RyLEyu/" # noqa: E501

tests/unit/test_secrets.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""Secret unit tests."""
2+
23
import pytest
34

45
import github3
6+
57
from . import helper
68

79
get_secret_examlple_data = helper.create_example_data_helper("secret_example")

0 commit comments

Comments
 (0)