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 Oct 23, 2024
1 parent 7c3fddf commit 8abc6ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packit_service/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

from cachetools import TTLCache, cached
from cachetools.func import ttl_cache
from packit.config import JobConfigTriggerType
from sqlalchemy import (
JSON,
Boolean,
Expand Down Expand Up @@ -53,7 +54,6 @@
from sqlalchemy.sql.functions import count
from sqlalchemy.types import ARRAY

from packit.config import JobConfigTriggerType
from packit_service.constants import ALLOWLIST_CONSTANTS

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion packit_service/worker/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

from boto3 import client as boto3_client
from botocore.exceptions import ClientError

from packit.utils.commands import run_command

from packit_service.constants import (
PACKAGE_CONFIGS_OUTDATED_AFTER_DAYS,
SRPMBUILDS_OUTDATED_AFTER_DAYS,
Expand Down
2 changes: 1 addition & 1 deletion packit_service/worker/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

import celery
from ogr.exceptions import GithubAppNotInstalledError

from packit.config import JobConfig, JobConfigTriggerType, JobConfigView, JobType
from packit.config.job_config import DEPRECATED_JOB_TYPES
from packit.utils import nested_get

from packit_service.config import PackageConfig, PackageConfigGetter, ServiceConfig
from packit_service.constants import (
COMMENT_REACTION,
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_commit_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from flexmock import flexmock
from github.MainClass import Github
from ogr.services.github import GithubProject

from packit.config import JobConfigTriggerType
from packit.copr_helper import CoprHelper
from packit.local_project import LocalProject, LocalProjectBuilder

from packit_service.constants import (
TASK_ACCEPTED,
)
Expand Down

0 comments on commit 8abc6ea

Please sign in to comment.