mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
* [pre-commit.ci] Pre-commit autoupdate. updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.7 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.7...v0.12.2) * Fix pyproject for ruff upgrade. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mikaël Capelle <capelle.mikael@gmail.com>
26 lines
735 B
YAML
26 lines
735 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-toml
|
|
- id: check-merge-conflict
|
|
- id: mixed-line-ending
|
|
args: [--fix=lf]
|
|
- id: check-case-conflict
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.12.2 # must match pyproject.toml
|
|
hooks:
|
|
- id: ruff
|
|
args: [--extend-select, I, --fix]
|
|
- id: ruff-format
|
|
|
|
ci:
|
|
autofix_commit_msg: "[pre-commit.ci] Auto fixes from pre-commit.com hooks."
|
|
autofix_prs: true
|
|
autoupdate_commit_msg: "[pre-commit.ci] Pre-commit autoupdate."
|
|
autoupdate_schedule: quarterly
|
|
submodules: false
|