Files
vibe-llama/.pre-commit-config.yaml
Clelia (Astra) Bertelli 6f6b6190c8 feat: add workflow builder for document processing (#4)
* feat: add workflow builder for document processing

* fix: uv.lock

* feat: refactoring for code readability

* feat: introducing typed state

* chore: small nits

* fix: full typed state implementation

* ci: adding tests for docuflows

* fix: pre-commit messed up the tests

* fix: use vibe-llama starter sdk to bootstrap instructions for docuflows

* docs: better docs and using .vibe-llama/rules/AGENTS.md as instructions file

* Update README.md

* ci: lint

---------

Co-authored-by: Tuana Çelik <tuanacelik95@gmail.com>
2025-08-26 13:48:36 +02:00

62 lines
1.6 KiB
YAML

---
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.11.8
hooks:
- id: ruff
args: [--exit-non-zero-on-fix, --fix]
- id: ruff-format
exclude: ".*poetry.lock|.*_static|.*uv.lock|.*ipynb|.*docs.*"
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.1
hooks:
- id: black-jupyter
name: black-docs-py
alias: black
files: ^(README.md|CONTRIBUTING.md)
# Using PEP 8's line length in docs prevents excess left/right scrolling
args: [--line-length=79]
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
name: black-docs-text
alias: black
types_or: [rst, markdown, tex]
additional_dependencies: [black==23.10.1]
# Using PEP 8's line length in docs prevents excess left/right scrolling
args: [--line-length=79]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier
- repo: https://github.com/srstevenson/nb-clean
rev: 3.1.0
hooks:
- id: nb-clean
args: [--preserve-cell-outputs, --remove-empty-cells]
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort-fix