mirror of
https://github.com/OpenFreeEnergy/openfe.git
synced 2026-06-04 14:14:22 +08:00
* 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
34 lines
818 B
YAML
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
|