.pre-commit-config.yaml 487 B

12345678910111213141516171819
  1. default_language_version:
  2. python: python3
  3. repos:
  4. - repo: https://github.com/codespell-project/codespell
  5. rev: v2.3.0
  6. hooks:
  7. - id: codespell
  8. files: ^(about|community|contributing|getting_started|tutorials)/.*\.rst$
  9. additional_dependencies: [tomli]
  10. - repo: https://github.com/pre-commit/pre-commit-hooks
  11. rev: v5.0.0
  12. hooks:
  13. - id: end-of-file-fixer
  14. - id: fix-byte-order-marker
  15. - id: mixed-line-ending
  16. args: ['--fix=lf']