Просмотр исходного кода

Move codespell ignore to a file for easier management (#148)

Jon Meow 5 лет назад
Родитель
Сommit
9a0bc88bcf
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      .codespell_ignore
  2. 1 1
      .pre-commit-config.yaml

+ 3 - 0
.codespell_ignore

@@ -0,0 +1,3 @@
+circularly
+copyable
+pullrequest

+ 1 - 1
.pre-commit-config.yaml

@@ -19,7 +19,7 @@ repos:
     rev: v1.17.1
     hooks:
       - id: codespell
-        args: ['-L', 'circularly,copyable,pullrequest']
+        args: ['-I', '.codespell_ignore']
         exclude: '^src/jekyll/Gemfile.lock$'
   - repo: local
     hooks: