diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d889b0..053e187 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/.vscode/extensions.json b/.vscode/extensions.json index b73cc80..f18738d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,5 +3,6 @@ "ms-python.black-formatter", "kevinrose.vsc-python-indent", "charliermarsh.ruff", + "shardulm94.trailing-spaces" ] } diff --git a/Taskfile.yml b/Taskfile.yml index 70786f2..70e0d35 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -21,3 +21,7 @@ tasks: lint: cmds: - pre-commit run -a + + update: + cmds: + - "{{.PYTHON}} -m pip install -U ultralytics mediapipe ruff pre-commit black" diff --git a/install.py b/install.py index 9751baa..62c73d7 100644 --- a/install.py +++ b/install.py @@ -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