Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Add out-of-the-box pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinclert committed Jan 25, 2024
1 parent ad265ea commit f2dd181
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
fail_fast: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-json
- id: check-toml
- id: check-yaml
- id: trailing-whitespace

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
hooks:
Expand Down

0 comments on commit f2dd181

Please sign in to comment.