# Run `pre-commit autoupdate` to update tool versions. # Note that pre-commit.ci can update hook versions automatically. repos: - repo: https://github.com/pre-commit/pre-commit-hooks.git rev: v4.4.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade rev: v3.10.1 hooks: - id: pyupgrade name: "Enforce Python 3.6 idioms" args: [--py36-plus] - repo: https://github.com/psf/black rev: 23.9.0 hooks: - id: black - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort - repo: https://github.com/editorconfig-checker/editorconfig-checker.python rev: 2.7.2 hooks: - id: editorconfig-checker