Skip to content

Commit

Permalink
chore: Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed May 24, 2024
1 parent 8b613a1 commit f9f684b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.12
python: python3.12
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
# - id: check-added-large-files
- id: check-toml
- id: check-yaml
# - id: check-added-large-files
- id: check-toml
- id: check-yaml
args:
- --unsafe
- id: end-of-file-fixer
- id: trailing-whitespace
- --unsafe
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.2
rev: v0.4.5
hooks:
- id: ruff
- id: ruff
args:
- --fix
- id: ruff-format
- --fix
- id: ruff-format
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2 # Specify the desired version of Gitleaks
rev: v8.18.2 # Specify the desired version of Gitleaks
hooks:
- id: gitleaks
- id: gitleaks

0 comments on commit f9f684b

Please sign in to comment.