mirror of https://github.com/Bing-su/adetailer.git
chore: update tools
parent
27591dfbe7
commit
a7d6559710
|
|
@ -8,7 +8,7 @@ repos:
|
|||
- id: mixed-line-ending
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: "v0.0.286"
|
||||
rev: "v0.0.287"
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
"ms-python.black-formatter",
|
||||
"kevinrose.vsc-python-indent",
|
||||
"charliermarsh.ruff",
|
||||
"shardulm94.trailing-spaces"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,3 +21,7 @@ tasks:
|
|||
lint:
|
||||
cmds:
|
||||
- pre-commit run -a
|
||||
|
||||
update:
|
||||
cmds:
|
||||
- "{{.PYTHON}} -m pip install -U ultralytics mediapipe ruff pre-commit black"
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ def run_pip(*args):
|
|||
def install():
|
||||
deps = [
|
||||
# requirements
|
||||
("ultralytics", "8.0.167", None),
|
||||
("ultralytics", "8.0.168", None),
|
||||
("mediapipe", "0.10.3", None),
|
||||
("rich", "13.0.0", None),
|
||||
# mediapipe
|
||||
|
|
|
|||
Loading…
Reference in New Issue