first commit
This commit is contained in:
29
.pre-commit-config.yaml
Executable file
29
.pre-commit-config.yaml
Executable file
@@ -0,0 +1,29 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-toml
|
||||
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.11.4
|
||||
hooks:
|
||||
- id: ruff
|
||||
args:
|
||||
- '--config'
|
||||
- '.ruff.toml'
|
||||
- '--fix'
|
||||
- '--unsafe-fixes'
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
rev: 0.6.14
|
||||
hooks:
|
||||
- id: uv-lock
|
||||
- id: uv-export
|
||||
args:
|
||||
- '-o'
|
||||
- 'requirements.txt'
|
||||
- '--no-hashes'
|
||||
Reference in New Issue
Block a user