mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
Add pre-commit definition for codespell
This commit is contained in:
@@ -27,3 +27,11 @@ repos:
|
||||
language: system
|
||||
types: [python]
|
||||
exclude: ^docs/cookbooks/ # Ignore files under docs/cookbooks
|
||||
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
# Configuration for codespell is in pyproject.toml
|
||||
rev: v2.4.1
|
||||
hooks:
|
||||
- id: codespell
|
||||
additional_dependencies:
|
||||
- tomli # for python_version < '3.11'
|
||||
|
||||
Reference in New Issue
Block a user