From 1a21781fa46bb6edbb59b3e7f64c59f532b2f7ca Mon Sep 17 00:00:00 2001 From: musaddiq-ashfaq Date: Mon, 6 Jan 2025 22:59:16 +0500 Subject: [PATCH] Added codespell to pre-commit configuration --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 547f20bd..ce246e76 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,5 +37,12 @@ repos: language: system pass_filenames: false always_run: true + - repo: https://github.com/codespell-project/codespell + rev: v2.3.0 + hooks: + - id: codespell + additional_dependencies: [tomli] + args: ["--toml", "pyproject.toml"] + default_language_version: python: python3