Skip to content

Commit

Permalink
add pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
flaport committed Feb 20, 2024
1 parent 1f9d231 commit 774c3fe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'fc26039'
hooks:
- id: prettier
entry: prettier --write --list-different --ignore-unknown --single-quote
types_or: [yaml]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black
language_version: python3.11
- repo: https://github.com/pocc/pre-commit-hooks
rev: '336fdd7'
hooks:
- id: clang-format
args: [--style=Google]

0 comments on commit 774c3fe

Please sign in to comment.