1 2 3 4 5 6 7 8 9
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.1.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace - id: mixed-line-ending args: [--fix=lf]