Files
rendercv/.pre-commit-config.yaml
lif 18485d7185 feat: watch mode now monitors included config files (#579)
* feat: watch mode now monitors included config files

Watch mode (--watch/-w) now monitors changes to included configuration
files specified via --design, --locale-catalog, and --settings options.

Previously, watch mode only monitored the main input file. Now when
using separate config files for design/locale/settings, changes to
any of these files will trigger a re-render.

Fixes #552

* Improve implementation

* Update testdata

* Fix pre-commit errors

* Update testdata

---------

Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
2026-02-16 21:22:13 +03:00

28 lines
749 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-toml
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args:
- --skip=src/rendercv/schema/models/locale/other_locales/*
- --exclude-file=schema.json
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff-check
- id: ruff-format
- repo: local
hooks:
- id: ty-check
name: ty-check
language: python
entry: ty check src tests
pass_filenames: false
args: [--python=.venv/]
additional_dependencies: ["ty>=0.0.17"]