mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
chore: update tools
This commit is contained in:
@@ -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]
|
||||
|
||||
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user