mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-05-01 11:41:41 +00:00
chore: update tools
This commit is contained in:
@@ -8,7 +8,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: "v0.0.286"
|
rev: "v0.0.287"
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
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",
|
"ms-python.black-formatter",
|
||||||
"kevinrose.vsc-python-indent",
|
"kevinrose.vsc-python-indent",
|
||||||
"charliermarsh.ruff",
|
"charliermarsh.ruff",
|
||||||
|
"shardulm94.trailing-spaces"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,3 +21,7 @@ tasks:
|
|||||||
lint:
|
lint:
|
||||||
cmds:
|
cmds:
|
||||||
- pre-commit run -a
|
- 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():
|
def install():
|
||||||
deps = [
|
deps = [
|
||||||
# requirements
|
# requirements
|
||||||
("ultralytics", "8.0.167", None),
|
("ultralytics", "8.0.168", None),
|
||||||
("mediapipe", "0.10.3", None),
|
("mediapipe", "0.10.3", None),
|
||||||
("rich", "13.0.0", None),
|
("rich", "13.0.0", None),
|
||||||
# mediapipe
|
# mediapipe
|
||||||
|
|||||||
Reference in New Issue
Block a user