.pre-commit-config.yaml 457 B

123456789101112131415161718
  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: fix-byte-order-marker
  14. - id: mixed-line-ending
  15. args: ['--fix=lf']