mirror of
https://github.com/OpenFreeEnergy/openfe.git
synced 2026-06-04 14:14:22 +08:00
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.21.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.11.1...v2.21.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.15.9) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
35 lines
845 B
YAML
35 lines
845 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
|
|
args: ["--maxkb=900"]
|
|
- 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.21.0"
|
|
hooks:
|
|
- id: pyproject-fmt
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.9
|
|
hooks:
|
|
# Run the linter.
|
|
- id: ruff
|
|
args: [--fix ]
|
|
# Run the formatter.
|
|
- id: ruff-format
|