presubmit: Add inclusive language check

Bug: 386
Change-Id: I6a2b06240b956bd086cf5736562388fdc77587b0
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/46810
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
diff --git a/tools/pigweed_experimental_tools/presubmit_checks.py b/tools/pigweed_experimental_tools/presubmit_checks.py
index e04eb76..370d2a7 100755
--- a/tools/pigweed_experimental_tools/presubmit_checks.py
+++ b/tools/pigweed_experimental_tools/presubmit_checks.py
@@ -29,6 +29,7 @@
     sys.exit(2)
 
 import pw_presubmit
+import pw_presubmit.inclusive_language
 from pw_presubmit import build, cli, format_code, git_repo
 from pw_presubmit import python_checks, filter_paths, PresubmitContext
 from pw_presubmit.install_hook import install_hook
@@ -94,22 +95,36 @@
     pw_presubmit.pragma_once(ctx)
 
 
+@filter_paths(exclude=PATH_EXCLUSIONS)
+def inclusive_language(ctx: PresubmitContext):
+    """Inclusive language check."""
+    pw_presubmit.inclusive_language.inclusive_language(ctx)
+
+
 #
 # Presubmit check programs
 #
+OTHER_CHECKS = (inclusive_language, )
+
 QUICK = (
     # List some presubmit checks to run
     default_build,
     # Use the upstream formatting checks, with custom path filters applied.
     format_code.presubmit_checks(exclude=PATH_EXCLUSIONS),
 )
+
 FULL = (
     pragma_once,
     QUICK,  # Add all checks from the 'quick' program
     # Use the upstream Python checks, with custom path filters applied.
     python_checks.all_checks(exclude=PATH_EXCLUSIONS),
 )
-PROGRAMS = pw_presubmit.Programs(quick=QUICK, full=FULL)
+
+PROGRAMS = pw_presubmit.Programs(
+    quick=QUICK,
+    full=FULL,
+    other_checks=OTHER_CHECKS,
+)
 
 
 def run(install: bool, **presubmit_args) -> int: