Skip to content

Commit

Permalink
Merge pull request #97 from rcjackson/precommit
Browse files Browse the repository at this point in the history
ADD: Pre-commit config
  • Loading branch information
rcjackson authored Aug 31, 2023
2 parents 8403053 + 895742b commit 17e4628
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: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.286
hooks:
- id: ruff

0 comments on commit 17e4628

Please sign in to comment.