Browse Source

codespell: Add configuration file

Josef Angstenberger 4 years ago
parent
commit
4af7c3de5c
2 changed files with 10 additions and 0 deletions
  1. 9 0
      .codespellrc
  2. 1 0
      .gitattributes

+ 9 - 0
.codespellrc

@@ -0,0 +1,9 @@
+[codespell]
+check-filenames =
+check-hidden =
+count =
+# Disable warnings about binary files
+quiet-level = 2
+builtin = clear,rare,en-GB_to_en-US
+skip = */.git,*/Copyright.txt,*/doxygen.config,*/Modules/Internal/CPack/NSIS.template.in,*/Source/CursesDialog/form/*,*/Source/kwsys/*,*/Tests/RunCMake/CPack/tests/DMG_SLA/German.*,*/Utilities/cm*
+ignore-words-list = aci,ake,ans,ba,cconfiguration,conly,dependees,dne,dum,earch,ect,filetest,fo,helpfull,hiden,isnt,keypair,nd,ned,nin,nknown,ot,pard,seh,ser,te,upto,varn,vas,wee

+ 1 - 0
.gitattributes

@@ -1,5 +1,6 @@
 .git*            export-ignore
 .hooks*          export-ignore
+.codespellrc     export-ignore
 .editorconfig    export-ignore
 
 # Custom attribute to mark sources as using our C code style.