Skip to content

Commit

Permalink
🔧 build(deps): add pre-commit hooks for file checks and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeparziale committed Jan 20, 2025
1 parent b33ec2d commit f7c0c51
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-toml
- id: check-yaml
args:
- --unsafe
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.1
Expand All @@ -13,4 +23,4 @@ repos:
- id: ruff-format
ci:
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate

0 comments on commit f7c0c51

Please sign in to comment.