Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 25, 2024
1 parent b41b499 commit 3bee6e6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.rst
Expand Up @@ -225,4 +225,4 @@ Contributors

- Thomas Buchner (@MrBatschner)

- Chris Cotter (@ccotter)
- Chris Cotter (@ccotter)
1 change: 1 addition & 0 deletions src/github3/actions/__init__.py
Expand Up @@ -7,6 +7,7 @@
See also: http://developer.github.com/v3/actions/
"""

from .secrets import OrganizationSecret
from .secrets import RepositorySecret
from .secrets import SharedOrganizationSecret
Expand Down
3 changes: 1 addition & 2 deletions src/github3/actions/secrets.py
@@ -1,11 +1,11 @@
"""This module contains all the classes relating to GitHub Actions secrets."""

import typing

from .. import models


class PublicKey(models.GitHubCore):

"""Object representing a Public Key for GitHub Actions secrets.
See https://docs.github.com/en/rest/actions/secrets for more details.
Expand All @@ -31,7 +31,6 @@ def __str__(self):


class _Secret(models.GitHubCore):

"""Base class for all secrets for GitHub Actions.
See https://docs.github.com/en/rest/actions/secrets for more details.
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_orgs.py
@@ -1,4 +1,5 @@
"""Integration tests for methods implemented on Organization."""

import datetime

import pytest
Expand Down Expand Up @@ -422,7 +423,6 @@ def test_hooks(self):


class TestOrganizationSecrets(IntegrationHelper):

"""Integration tests for organization secrets."""

encrypted_data = "9JgL1eNoSjB/9cmjYUI00ojLcLxidIgvspXw/g+vmEvlIgqafYXTe1sbVEsz3RyLEyu/" # noqa: E501
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/test_secrets.py
@@ -1,7 +1,9 @@
"""Secret unit tests."""

import pytest

import github3

from . import helper

get_secret_examlple_data = helper.create_example_data_helper("secret_example")
Expand Down

0 comments on commit 3bee6e6

Please sign in to comment.