Skip to content

Commit

Permalink
Add initial support for precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Apr 21, 2022
1 parent 80fcee7 commit cd3be6d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black

0 comments on commit cd3be6d

Please sign in to comment.