2
0
Эх сурвалжийг харах

Travis CI: Check for possible typos using codespell

Hugo Locurcio 5 жил өмнө
parent
commit
02054d5892
2 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 5 0
      .travis.yml
  2. 6 0
      codespell-ignore.txt

+ 5 - 0
.travis.yml

@@ -1,3 +1,4 @@
+os: linux
 dist: bionic
 language: python
 
@@ -22,6 +23,10 @@ matrix:
 script:
   - bash ./format.sh
 
+  # Check for possible typos
+  - pip install codespell
+  - codespell -I codespell-ignore.txt {about,community,development,getting_started,tutorials}/**/*.rst
+
   - pip install -r requirements.txt
   # TODO: Add `-W` to turn warnings into errors.
   # This can only be done once all warnings have been fixed.

+ 6 - 0
codespell-ignore.txt

@@ -0,0 +1,6 @@
+doubleclick
+dof
+lod
+que
+raison
+uint