Files
openfe/.pre-commit-config.yaml
Alyssa Travitz 7b585fec5d add yaml syntax check precommit hooks (#1567)
* add more checks

* make precommit manual

* apply formatting to pyproject.toml

* add TODO

* remove unneeded, add a few more

* exclude contruct.yaml from precommit check
2025-10-28 08:08:50 -07:00

34 lines
818 B
YAML

ci:
autoupdate_schedule: quarterly
# comment / label "pre-commit.ci autofix" to a pull request to manually trigger auto-fixing
autofix_prs: false
skip: []
submodules: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-symlinks
- id: check-toml
- id: check-yaml
exclude: devtools/installer/construct.yaml # not a true YAML file
- id: debug-statements
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.8.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.3
hooks:
# Run the linter.
- id: ruff
args: [--fix ]
# Run the formatter.
- id: ruff-format