Add pypi.org as explicit default index for uv in pre-commit (#4167)

* Add pypi.org as explicit default index for uv

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* try modifying uv.lock pointing to artifact registry -- ci should fail

* try uv lock before

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* try wrong uv.lock

* test

* test

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* final test with wrong uv.lock -- precommit job should fail again

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix uv.lock -- ci should pass

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
This commit is contained in:
Emídio Neto
2026-02-10 13:27:56 -03:00
committed by GitHub
parent 1e92f1ab0c
commit 36aa71b21c
2 changed files with 3977 additions and 3873 deletions

View File

@@ -10,9 +10,10 @@ repos:
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.0
rev: 1ce7e7fa8aa6eda60e54755509a9380b0f1c5d08 # frozen: v0.9.30
hooks:
- id: uv-lock
args: ["--index-url", "https://pypi.org/simple/"]
- repo: https://github.com/rstcheck/rstcheck
rev: 77490ffa33bfc0928975ae3cf904219903db755d # frozen: v6.2.5
hooks:

7847
uv.lock generated
View File

File diff suppressed because it is too large Load Diff