Skip to content

Commit

Permalink
Remove unused pre-commit hooks (#186)
Browse files Browse the repository at this point in the history
* Updated ruff hook

* Removed requirements.txt hook

* Removed pretty-format-json hook

* Removed check-json hook

* Remove trailing-whitespace hook, covered by ruff rule W291

* Remove end-of-file-fixer hook, covered by ruff rule W292
  • Loading branch information
sixcare authored Oct 31, 2023
1 parent 29b65d4 commit 621144a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,16 @@ repos:
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: ['--remove']
- id: pretty-format-json
args: ['--autofix']
- id: name-tests-test
args: ['--django']
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.269'
rev: 'v0.1.3'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

0 comments on commit 621144a

Please sign in to comment.