Move codespell configuration into setup.cfg

This commit is contained in:
Yaroslav Halchenko 2024-01-26 09:03:58 -05:00
parent e18d1c572c
commit fcfac9feab
3 changed files with 5 additions and 8 deletions

View File

@ -1,7 +0,0 @@
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
skip = .git,*.svg,*.css,*.min.*,*-min.js,.codespellrc,locale,static,kickstarter-announcement.md
check-hidden = true
# skip lines with ú as they might contain non-english words
ignore-regex = \bMalcom Tredinnick\b|^.{500,}$|.*ú.*
ignore-words-list = fo,crate

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
*.db
*~
.*
!.codespellrc
*.py.bak

View File

@ -29,3 +29,8 @@ include = rest_framework/*,tests/*
exclude_lines =
pragma: no cover
raise NotImplementedError
[codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = */kickstarter-announcement.md,*.js,*.map,*.po
ignore-words-list = fo,malcom,ser