Skip to content

Commit

Permalink
chore: update tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Bing-su committed Sep 2, 2023
1 parent 27591df commit a7d6559
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"ms-python.black-formatter",
"kevinrose.vsc-python-indent",
"charliermarsh.ruff",
"shardulm94.trailing-spaces"
]
}
4 changes: 4 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ tasks:
lint:
cmds:
- pre-commit run -a

update:
cmds:
- "{{.PYTHON}} -m pip install -U ultralytics mediapipe ruff pre-commit black"
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7d6559

Please sign in to comment.