default_install_hook_types: [pre-push] repos: - repo: local hooks: - id: standard-python-shebang name: Standard python shebang entry: sed language: system types: [python] args: [ "-i", # modify in-place "-E", # extended regex "s|^#\\!.*|#\\!/usr/bin/env python|", ] - repo: https://github.com/pre-commit/pre-commit-hooks rev: "v4.4.0" hooks: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: "v0.0.291" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black rev: 23.9.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.3" hooks: - id: prettier