Skip to content

Commit

Permalink
fix: job/init.py恢复排序、更新isort版本 TencentBlueKing#7625
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpixu committed Dec 9, 2024
1 parent 3ba7f5b commit d8f1fb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
default_stages: [pre-commit]
default_stages: [commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v2.1.0
hooks:
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 22.8.0
hooks:
- id: black
language_version: python3.11.10
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: flake8
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.19.0
rev: v9.11.0
hooks:
- id: commitlint
stages: [commit-msg]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# isort: skip_file
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Expand All @@ -15,13 +16,13 @@

__group_name__ = _("作业平台(JOB)")

from .all_biz_execute_job_plan import * # noqa
from .all_biz_fast_execute_script import * # noqa
from .all_biz_fast_push_file import * # noqa
from .base import JobService, Jobv3Service # noqa
from .cron_task import * # noqa
from .execute_task import * # noqa
from .fast_execute_script import * # noqa
from .fast_push_file import * # noqa
from .local_content_upload import * # noqa
from .push_local_files import * # noqa
from .local_content_upload import * # noqa
from .all_biz_fast_push_file import * # noqa
from .all_biz_fast_execute_script import * # noqa
from .all_biz_execute_job_plan import * # noqa

0 comments on commit d8f1fb0

Please sign in to comment.