.pre-commit-config.yaml 746 B

123456789101112131415161718192021222324252627282930
  1. exclude: ^(.changes/|CHANGELOG.rst|s3transfer/compat.py)
  2. repos:
  3. - repo: 'https://github.com/pre-commit/pre-commit-hooks'
  4. rev: v4.2.0
  5. hooks:
  6. - id: check-yaml
  7. - id: end-of-file-fixer
  8. - id: trailing-whitespace
  9. - repo: 'https://github.com/asottile/pyupgrade'
  10. rev: v2.32.1
  11. hooks:
  12. - id: pyupgrade
  13. args:
  14. - '--py36-plus'
  15. - repo: 'https://github.com/PyCQA/isort'
  16. rev: 5.10.1
  17. hooks:
  18. - id: isort
  19. - repo: 'https://github.com/psf/black'
  20. rev: 22.3.0
  21. hooks:
  22. - id: black
  23. - repo: 'https://github.com/pycqa/flake8'
  24. rev: 4.0.1
  25. hooks:
  26. - id: flake8
  27. - repo: 'https://github.com/codespell-project/codespell'
  28. rev: v2.1.0
  29. hooks:
  30. - id: codespell