From 4254834691061d4015cd12d66c817bb790ee72a2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:12:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .cspell.json | 1 + .pre-commit-config.yaml | 2 +- .readthedocs.yml | 2 +- .vscode/settings.json | 1 + environment.yml | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.cspell.json b/.cspell.json index e05f2b90..f9587cf0 100644 --- a/.cspell.json +++ b/.cspell.json @@ -25,6 +25,7 @@ "**/.cspell.json", "*.ico", "*.svg", + ".constraints/*.txt", ".editorconfig", ".envrc", ".gitattributes", diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8926ef6a..1eb66a85 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ ci: - autoupdate_commit_msg: "MAINT: autoupdate pre-commit hooks" + autoupdate_commit_msg: "MAINT: update pip constraints and pre-commit" autoupdate_schedule: quarterly skip: - check-jsonschema diff --git a/.readthedocs.yml b/.readthedocs.yml index 2eb1a00d..b6844a63 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -17,4 +17,4 @@ build: jobs: post_install: - python -m pip install 'uv>=0.2.0' - - python -m uv pip install -e .[doc] + - python -m uv pip install -c .constraints/py3.12.txt -e .[doc] diff --git a/.vscode/settings.json b/.vscode/settings.json index 2c0f4367..d0316167 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -31,6 +31,7 @@ "\u03c3": true }, "files.associations": { + "**/.constraints/py*.txt": "pip-requirements", "**/pixi.lock": "yaml" }, "files.watcherExclude": { diff --git a/environment.yml b/environment.yml index 8b03e206..7e2206e6 100644 --- a/environment.yml +++ b/environment.yml @@ -6,6 +6,6 @@ dependencies: - pip - python==3.12.* - pip: - - -e .[dev] + - -c .constraints/py3.12.txt -e .[dev] variables: PYTHONHASHSEED: 0