default_language_version: python: python3 repos: - repo: https://github.com/codespell-project/codespell rev: v2.3.0 hooks: - id: codespell files: ^(about|community|contributing|getting_started|tutorials)/.*\.rst$ additional_dependencies: [tomli] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: fix-byte-order-marker - id: mixed-line-ending args: ['--fix=lf']