From 52ed9838491eb7047d1a9df4172af7c167bcabc9 Mon Sep 17 00:00:00 2001 From: anishamahuli Date: Wed, 11 Mar 2026 12:01:13 -0400 Subject: [PATCH 1/2] add uv.lock to gitignore uv.lock file is generated when using 'uv run' to set up project --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ba1234ce..063bafae 100644 --- a/.gitignore +++ b/.gitignore @@ -126,4 +126,7 @@ dmypy.json ### Python Patch ### .venv/ +# uv +uv.lock + # End of https://www.gitignore.io/api/python From 2c5dbc81a65797b1b39f3bfa97f6a2e2fb2e6f7c Mon Sep 17 00:00:00 2001 From: anishamahuli Date: Wed, 11 Mar 2026 12:03:09 -0400 Subject: [PATCH 2/2] fix incorrect uv commands 'uv run precommit install'--change to 'uv run pre-commit install' 'uv ruff check .'--change to 'uv run ruff check .' 'uv format .'--change to 'uv run ruff format .' --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 49840fa7..8546d8bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,8 +10,8 @@ Executing the tests: $ uv venv $ uv pip install -r requirements.txt $ uv pip install -e . - $ uv ruff check . - $ uv format . + $ uv run ruff check . + $ uv run ruff format . $ uv run pytest or with [tox](https://pypi.org/project/tox/) installed: @@ -21,7 +21,7 @@ or with [tox](https://pypi.org/project/tox/) installed: Use of pre-commit is recommended: - $ uv run precommit install + $ uv run pre-commit install Documentation is published with [mkdocs]():