mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
* fix typos, add codespell pre-commit hook * Update .pre-commit-config.yaml --------- Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
18 lines
469 B
YAML
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$
|