diff options
Diffstat (limited to 'libs/basic_games/.pre-commit-config.yaml')
| -rw-r--r-- | libs/basic_games/.pre-commit-config.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/basic_games/.pre-commit-config.yaml b/libs/basic_games/.pre-commit-config.yaml new file mode 100644 index 0000000..ae8a99a --- /dev/null +++ b/libs/basic_games/.pre-commit-config.yaml @@ -0,0 +1,25 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.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.14.10 # 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 |
