Skip to content

Commit

Permalink
Add pre-commit hooks (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Jul 20, 2023
1 parent 4d6804e commit 9e59fc2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.278
hooks:
- id: ruff
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black

0 comments on commit 9e59fc2

Please sign in to comment.