Add renaming advice based on Linux kernel spelling (#1554)
Recommend the renaming of whitelist/blacklist to allowlist/blocklist as
per kernel patch:
https://lore.kernel.org/lkml/20200609122549.26304-1-sjpark@amazon.com/
“[T]he new suggestions are incontrovertible, doesn't make people hurt,
and more self-explanatory.”
diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt
index ee8c2fa..61a6eb5 100644
--- a/codespell_lib/data/dictionary.txt
+++ b/codespell_lib/data/dictionary.txt
@@ -3556,7 +3556,7 @@
bject->object
bjects->objects
blackslashes->backslashes
-blaclist->blacklist
+blaclist->blocklist
blaim->blame
blaimed->blamed
blak->black, blank,
@@ -28039,10 +28039,10 @@
whihc->which
whihch->which
whilest->whilst
-whiltelist->whitelist
-whiltelisted->whitelisted
-whiltelisting->whitelisting
-whiltelists->whitelists
+whiltelist->allowlist
+whiltelisted->allowlisted
+whiltelisting->allowlisting
+whiltelists->allowlists
whilw->while
whioch->which
whiped->wiped
diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt
index cd425c0..8a134b9 100644
--- a/codespell_lib/data/dictionary_rare.txt
+++ b/codespell_lib/data/dictionary_rare.txt
@@ -6,6 +6,7 @@
automatizes->automates
backword->backward
backwords->backwards
+blacklist->blocklist
bloc->block
blocs->blocks
bodgy->body
@@ -134,6 +135,7 @@
whats->what's
whet->when, what, wet,
whiling->while
+whitelist->allowlist
wight->weight, white, right, write,
wights->weights, whites, rights, writes,
wit->with