Skip to content

Commit

Permalink
add basic pre-commit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
adhil0 committed Mar 29, 2024
1 parent 024782b commit 0be8e47
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.3.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.12

# gitleaks
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.2
hooks:
- id: gitleaks

0 comments on commit 0be8e47

Please sign in to comment.