Skip to content

Commit

Permalink
remove unused args and update hook exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Nov 14, 2024
1 parent 284a240 commit 55b8cef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ repos:
args: [ '--allow-multiple-documents' ]
- id: check-toml
- id: check-json
args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys']
# Check for common mistakes
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -29,12 +28,12 @@ repos:
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
exclude: ".ipynb"
exclude_types: ["jupyter", "text"]
- id: mixed-line-ending
- id: no-commit-to-branch # protects `main` by default
- id: debug-statements
- id: trailing-whitespace
exclude: ".txt"
exclude_types: ["jupyter", "text"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
Expand Down

0 comments on commit 55b8cef

Please sign in to comment.