mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2026-03-13 08:10:39 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user