# See https://pre-commit.com for more information repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: fix-byte-order-marker - id: mixed-line-ending - id: check-merge-conflict - id: check-case-conflict - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.1.10 hooks: - id: remove-crlf - id: remove-tabs - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks rev: v2.13.0 hooks: - id: pretty-format-java args: [--autofix, --aosp, --google-java-formatter-version=1.16.0] - id: pretty-format-yaml args: [--autofix] - id: pretty-format-toml args: [--autofix]