diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index b500944e0..000000000 --- a/.codespellrc +++ /dev/null @@ -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 diff --git a/.gitignore b/.gitignore index ef88e6411..641714d16 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ *.db *~ .* -!.codespellrc *.py.bak diff --git a/setup.cfg b/setup.cfg index 487d99db9..e7e288816 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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