.pylintrc: Use inclusive language
Bug: 386
Change-Id: I4d3c4775b3c55aac7be4cffd9ea7b32931ba5c53
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/46604
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
diff --git a/.pylintrc b/.pylintrc
index c259400..172a524 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,10 +1,12 @@
-[MASTER]
+[MASTER] # inclusive-language: ignore
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code.
+# inclusive-language: disable
# TODO(pwbug/280) Change "whitelist" to "allowlist". (Blocked on pylint.)
extension-pkg-whitelist=mypy
+# inclusive-language: enable
# Add files or directories to the blocklist. They should be base names, not
# paths.
@@ -161,8 +163,8 @@
callbacks=cb_,
_cb
-# A regular expression matching the name of dummy variables (i.e. expected to
-# not be used).
+# A regular expression matching the name of placeholder variables (i.e.
+# expected to not be used). # inclusive-language: ignore
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
# Argument names that match this expression will be ignored. Default to name