Files
discord-progress-bar/.pre-commit-config.yaml
pre-commit-ci[bot] c7fcdfa744 👷 pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.14.10)
- [github.com/Paillat-dev/copywrite: 627dfedabfb34bc8c789da46cb355405fa00c0c5 → v0.21.0](627dfedabf...v0.21.0)
2025-12-22 19:06:25 +00:00

35 lines
1.0 KiB
YAML

# Copyright (c) NiceBots
# SPDX-License-Identifier: MIT
ci:
autoupdate_commit_msg: ":construction_worker: pre-commit autoupdate"
autofix_commit_msg: ":art: auto fixes from pre-commit.com hooks"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: \.(po|pot|yml|yaml)$
- id: end-of-file-fixer
exclude: \.(po|pot|yml|yaml)$
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
exclude: \.(po|pot|yml|yaml)$
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.14.10
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/Paillat-dev/copywrite # waiting for https://github.com/hashicorp/copywrite/pull/120 to be merged
rev: v0.21.0
hooks:
- id: add-headers