Files
LLMs-from-scratch/.pre-commit-config.yaml
Jeroen Van Goey 70cfced899 fix typos, add codespell pre-commit hook (#264)
* fix typos, add codespell pre-commit hook

* Update .pre-commit-config.yaml

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
2024-07-16 07:07:04 -05:00

18 lines
469 B
YAML

# A tool used by developers to identify spelling errors in text.
# Readers may ignore this file.
default_stages: [commit]
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
name: codespell
description: Check for spelling errors in text.
entry: codespell
language: python
args:
- "-L ocassion,occassion,ot,te,tje"
files: \.txt$|\.md$|\.py|\.ipynb$