@@ -24,6 +24,12 @@ repos:
hooks:
- id: yapf
+ # codespell
+ - repo: https://github.com/codespell-project/codespell
+ rev: v2.1.0
+ hooks:
+ - id: codespell
+
# pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
@@ -20,3 +20,8 @@ known_first_party = realesrgan
known_third_party = PIL,basicsr,cv2,numpy,torch,torchvision,tqdm
no_lines_before = STDLIB,LOCALFOLDER
default_section = THIRDPARTY
+[codespell]
+skip = .git,./docs/build
+count =
+quiet-level = 3