mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Update precommit monthly python 3.7+ (#7542)
This commit is contained in:
parent
c264795f50
commit
e04d8b1cb0
@ -8,7 +8,7 @@ default_language_version:
|
|||||||
ci:
|
ci:
|
||||||
autofix_prs: true
|
autofix_prs: true
|
||||||
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
||||||
autoupdate_schedule: quarterly
|
autoupdate_schedule: monthly
|
||||||
# submodules: true
|
# submodules: true
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
@ -27,8 +27,8 @@ repos:
|
|||||||
rev: v2.32.0
|
rev: v2.32.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py36-plus]
|
|
||||||
name: Upgrade code
|
name: Upgrade code
|
||||||
|
args: [ --py37-plus ]
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.10.1
|
rev: 5.10.1
|
||||||
@ -46,13 +46,14 @@ repos:
|
|||||||
rev: 0.7.14
|
rev: 0.7.14
|
||||||
hooks:
|
hooks:
|
||||||
- id: mdformat
|
- id: mdformat
|
||||||
|
name: MD formatting
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- mdformat-gfm
|
- mdformat-gfm
|
||||||
- mdformat-black
|
- mdformat-black
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
README.md
|
README.md
|
||||||
)$
|
)$
|
||||||
|
|
||||||
- repo: https://github.com/asottile/yesqa
|
- repo: https://github.com/asottile/yesqa
|
||||||
rev: v1.3.0
|
rev: v1.3.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user