Skip to content

Commit 0845f27

Browse files
committed
PYTHON-5574 Allow uv lockfile to update from justfile lint
1 parent 9e64ed1 commit 0845f27

File tree

3 files changed

+3
-138
lines changed

3 files changed

+3
-138
lines changed

justfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ typing-pyright: && resync
4949

5050
[group('lint')]
5151
lint *args="": && resync
52-
uv run pre-commit run --all-files {{args}}
52+
uvx pre-commit run --all-files {{args}}
5353

5454
[group('lint')]
5555
lint-manual *args="": && resync
56-
uv run pre-commit run --all-files --hook-stage manual {{args}}
56+
uvx pre-commit run --all-files --hook-stage manual {{args}}
5757

5858
[group('test')]
5959
test *args="-v --durations=5 --maxfail=10": && resync
60-
uv run --extra test pytest {{args}}
60+
uvx --extra test pytest {{args}}
6161

6262
[group('test')]
6363
run-tests *args: && resync

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ Source = "https://github.com/mongodb/mongo-python-driver"
4646
Tracker = "https://jira.mongodb.org/projects/PYTHON/issues"
4747

4848
[dependency-groups]
49-
dev = [
50-
"pre-commit>=4.0"
51-
]
5249
pip = ["pip"]
5350
# TODO: PYTHON-5464
5451
gevent = ["gevent", "cffi>=2.0.0b1;python_version=='3.14'"]

0 commit comments

Comments
 (0)