Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
chore(dev/precommit): add uv lock file, export requirements hook
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Dec 27, 2024
1 parent 95a3f9e commit c77478e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_install_hook_types:
- pre-commit
- commit-msg
- post-checkout
- post-merge
- post-rewrite

ci:
skip:
Expand Down Expand Up @@ -35,6 +36,13 @@ repos:
- id: check-metaschema
files: config.sample.json

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.12
hooks:
- id: uv-sync
- id: uv-lock # update lock file
- id: uv-export # export lock file to requirements.txt

- repo: local
hooks:
- id: generate-config-schemas
Expand Down

0 comments on commit c77478e

Please sign in to comment.