Export requirements.txt with pre-commit

This commit is contained in:
Alexander Hess 2026-11-27 15:11:39 +01:00
commit fbfb79d610
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
2 changed files with 1839 additions and 0 deletions

View file

@ -31,6 +31,12 @@ repos:
stages: [pre-merge-commit]
pass_filenames: false
always_run: true
# Keep requirements.txt in sync with uv.lock
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.13.10
hooks:
- id: uv-export
args: [--extra=research, --no-default-groups, --no-emit-project, --frozen, --quiet, --output-file=requirements.txt]
# Enable hooks provided by the pre-commit project to
# enforce rules that local tools could not that easily.
- repo: https://github.com/pre-commit/pre-commit-hooks
@ -38,6 +44,7 @@ repos:
hooks:
- id: check-added-large-files
args: [--maxkb=100]
exclude: ^requirements\.txt$ # Large only because of the hashes
- id: check-case-conflict
- id: check-builtin-literals
- id: check-merge-conflict

1832
requirements.txt Normal file

File diff suppressed because it is too large Load diff