--- /dev/null
+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: 23.11.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.8
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0 # Use the ref you want to point at
+ hooks:
+ - id: trailing-whitespace
+ - id: check-added-large-files
+ - id: debug-statements
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: mixed-line-ending
+ - repo: https://github.com/pre-commit/mirrors-clang-format
+ rev: v17.0.6 # Use the sha / tag you want to point at
+ hooks:
+ - id: clang-format