mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-17 19:52:25 +03:00
Move codespell configuration into setup.cfg
This commit is contained in:
parent
e18d1c572c
commit
fcfac9feab
|
@ -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
1
.gitignore
vendored
|
@ -2,7 +2,6 @@
|
||||||
*.db
|
*.db
|
||||||
*~
|
*~
|
||||||
.*
|
.*
|
||||||
!.codespellrc
|
|
||||||
*.py.bak
|
*.py.bak
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,3 +29,8 @@ include = rest_framework/*,tests/*
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
pragma: no cover
|
pragma: no cover
|
||||||
raise NotImplementedError
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user