From af152a7a39dafd923c69d4cdcb86c411d852e708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Wed, 1 Jan 2025 07:46:52 +0100 Subject: [PATCH 1/2] MNT: add uv-lock to pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 73a533d..0b3dd01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,11 @@ repos: - id: end-of-file-fixer - id: check-toml +- repo: https://github.com/astral-sh/uv-pre-commit + rev: 0.5.14 + hooks: + - id: uv-lock + - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 hooks: From 3fc977e49548d8ed05bd231008a248d4c39a9b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Wed, 1 Jan 2025 10:02:42 +0100 Subject: [PATCH 2/2] DEP: update uv.lock --- uv.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uv.lock b/uv.lock index 2e2949f..cd81e05 100644 --- a/uv.lock +++ b/uv.lock @@ -391,8 +391,8 @@ covcheck = [ { name = "schema" }, ] dev = [ - { name = "matplotlib-inline" }, - { name = "numpy" }, + { name = "matplotlib-inline", marker = "python_full_version < '3.14'" }, + { name = "numpy", marker = "python_full_version < '3.14'" }, ] test = [ { name = "pytest" }, @@ -415,8 +415,8 @@ covcheck = [ { name = "schema", specifier = ">=0.7.2" }, ] dev = [ - { name = "matplotlib-inline", specifier = ">=0.1.7" }, - { name = "numpy", specifier = ">=2.0.2" }, + { name = "matplotlib-inline", marker = "python_full_version < '3.14'", specifier = ">=0.1.7" }, + { name = "numpy", marker = "python_full_version < '3.14'", specifier = ">=2.0.2" }, ] test = [ { name = "pytest", specifier = ">=6.0.2" },