Skip to content

Commit d8f1fb0

Browse files
committed
fix: job/init.py恢复排序、更新isort版本 TencentBlueKing#7625
1 parent 3ba7f5b commit d8f1fb0

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
default_stages: [pre-commit]
1+
default_stages: [commit]
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v5.0.0
4+
rev: v2.1.0
55
hooks:
66
- id: check-merge-conflict
77
- repo: https://github.com/psf/black
8-
rev: 24.10.0
8+
rev: 22.8.0
99
hooks:
1010
- id: black
1111
language_version: python3.11.10
1212
- repo: https://github.com/pycqa/isort
1313
rev: 5.13.2
1414
hooks:
1515
- id: isort
16-
args: ["--profile", "black"]
16+
args: ["--profile", "black", "--filter-files"]
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
1818
rev: v2.1.0
1919
hooks:
2020
- id: flake8
2121
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
22-
rev: v9.19.0
22+
rev: v9.11.0
2323
hooks:
2424
- id: commitlint
2525
stages: [commit-msg]

pipeline_plugins/components/collections/sites/open/job/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# isort: skip_file
23
"""
34
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
45
Edition) available.
@@ -15,13 +16,13 @@
1516

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

18-
from .all_biz_execute_job_plan import * # noqa
19-
from .all_biz_fast_execute_script import * # noqa
20-
from .all_biz_fast_push_file import * # noqa
2119
from .base import JobService, Jobv3Service # noqa
2220
from .cron_task import * # noqa
2321
from .execute_task import * # noqa
2422
from .fast_execute_script import * # noqa
2523
from .fast_push_file import * # noqa
26-
from .local_content_upload import * # noqa
2724
from .push_local_files import * # noqa
25+
from .local_content_upload import * # noqa
26+
from .all_biz_fast_push_file import * # noqa
27+
from .all_biz_fast_execute_script import * # noqa
28+
from .all_biz_execute_job_plan import * # noqa

0 commit comments

Comments
 (0)