exclude: ^(.changes/|CHANGELOG.rst|s3transfer/compat.py) repos: - repo: 'https://github.com/pre-commit/pre-commit-hooks' rev: v4.5.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: 'https://github.com/asottile/pyupgrade' rev: v3.15.0 hooks: - id: pyupgrade args: - '--py37-plus' - repo: 'https://github.com/PyCQA/isort' rev: 5.12.0 hooks: - id: isort - repo: 'https://github.com/psf/black' rev: 23.11.0 hooks: - id: black - repo: 'https://github.com/pycqa/flake8' rev: 6.1.0 hooks: - id: flake8 - repo: 'https://github.com/codespell-project/codespell' rev: v2.1.0 hooks: - id: codespell