From 7f77070bb3720f08a7cf6301d954127dc3af9abd Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:38:43 -0700 Subject: [PATCH 01/14] ci: Add inclusive language check to CI --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f42e8e6..f07173e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,3 +101,11 @@ jobs: env: RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private_intra_doc_links" run: cargo doc --all-features + + inclusive_language: + name: Check for inclusive language + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Inclusiveness Analyzer + uses: microsoft/InclusivenessAnalyzer@v1.0.1 From e2230c8f88cea32c50da4c5bc63c803e904e0d82 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:44:16 -0700 Subject: [PATCH 02/14] ci: Customize settings for InclusivenessAnalyzer check --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f07173e7..91c98876 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,3 +109,6 @@ jobs: - uses: actions/checkout@v4 - name: Inclusiveness Analyzer uses: microsoft/InclusivenessAnalyzer@v1.0.1 + with: + failOnNonInclusiveTerm: true + excludeUnchangedFiles: false From f710d94ed1b4e2fba851f56a71229266f1f6d2c8 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:49:07 -0700 Subject: [PATCH 03/14] Resolve clippy errors --- src/api/cli/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/cli/mod.rs b/src/api/cli/mod.rs index b27ee913..fe8f2db1 100644 --- a/src/api/cli/mod.rs +++ b/src/api/cli/mod.rs @@ -159,10 +159,8 @@ mod tests { let args = if let Some(args) = args { args.split(' ').collect_vec() - } else if let Some(args) = arg_list { - args } else { - Default::default() + arg_list.unwrap_or_default() }; // The first word is interpreted as the binary name let args = vec!["binary_name"] From 6b9143e1bfac03a72d46d72fda4159b72b731af7 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:51:47 -0700 Subject: [PATCH 04/14] Remove non-inclusive language --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e11e1d02..b082cb1e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ and [Poem](https://github.com/poem-web/poem). boilerplate. Simply provide a [FunctionService](https://docs.rs/roadster/latest/roadster/service/function/service/struct.FunctionService.html) with your async function and register it in the `App#services` method. -- Provides sane defaults so you can focus on building your app, but most (all?) of the built-in behavior can be +- Provides sensible defaults so you can focus on building your app, but most (all?) of the built-in behavior can be customized or disabled via per-environment configuration files. - Uses `#![forbid(unsafe_code)]` to ensure all code in Roadster is 100% safe rust. - Provides a CLI for common commands, and allows consumers to provide their own CLI commands diff --git a/src/lib.rs b/src/lib.rs index 79282dad..43d90a9c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ //! //! - Built on Tokio's web stack (axum, tower, hyper, tracing). App behavior can be easily extended by taking advantage of //! all the resources in the tokio ecosystem. -//! - Provides sane defaults so you can focus on building your app. +//! - Provides sensible defaults so you can focus on building your app. //! - Most of the built-in behavior can be customized or even disabled via per-environment configuration files. //! - Uses `#![forbid(unsafe_code)]` to ensure all code in Roadster is 100% safe rust. From d34e6cf6ce613327281d163c11cd21ff400e5e53 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 11:59:58 -0700 Subject: [PATCH 05/14] ci: Move InclusivenessAnalyzer to a separate workflow file --- .github/workflows/ci.yml | 11 ----------- .github/workflows/dei.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/dei.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91c98876..9f42e8e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,14 +101,3 @@ jobs: env: RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private_intra_doc_links" run: cargo doc --all-features - - inclusive_language: - name: Check for inclusive language - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Inclusiveness Analyzer - uses: microsoft/InclusivenessAnalyzer@v1.0.1 - with: - failOnNonInclusiveTerm: true - excludeUnchangedFiles: false diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml new file mode 100644 index 00000000..8f351959 --- /dev/null +++ b/.github/workflows/dei.yml @@ -0,0 +1,23 @@ +name: DEI Checks + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + inclusive_language: + name: Check for inclusive language + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Inclusiveness Analyzer + uses: microsoft/InclusivenessAnalyzer@v1.0.1 + with: + failOnNonInclusiveTerm: true + excludeUnchangedFiles: false From 4e85593136998f90bf6bc10fec5fc6def5e011c1 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 12:03:27 -0700 Subject: [PATCH 06/14] ci: Add separate InclusivenessAnalyzer warning check to list issues --- .github/workflows/dei.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index 8f351959..4297bab1 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -11,6 +11,16 @@ env: CARGO_TERM_COLOR: always jobs: + inclusive_language_warnings: + name: List of non-inclusive language + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Inclusiveness Analyzer + uses: microsoft/InclusivenessAnalyzer@v1.0.1 + with: + excludeUnchangedFiles: false + inclusive_language: name: Check for inclusive language runs-on: ubuntu-latest From a492e356b705bc303da08fa27564e43754004bcf Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Wed, 19 Jun 2024 12:06:38 -0700 Subject: [PATCH 07/14] ci: Use checkout v3 for InclusivenessAnalyzer checks --- .github/workflows/dei.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index 4297bab1..13007f76 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -15,7 +15,7 @@ jobs: name: List of non-inclusive language runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Inclusiveness Analyzer uses: microsoft/InclusivenessAnalyzer@v1.0.1 with: @@ -25,7 +25,7 @@ jobs: name: Check for inclusive language runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - name: Inclusiveness Analyzer uses: microsoft/InclusivenessAnalyzer@v1.0.1 with: From 21ad37cdccbcb7d185668fccea1f4de097df3cda Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 16:53:08 -0700 Subject: [PATCH 08/14] ci: Use fetch-depth 2 for checkout in inclusiveness check --- .github/workflows/dei.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index 13007f76..5f6cdc9a 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -15,7 +15,9 @@ jobs: name: List of non-inclusive language runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: Inclusiveness Analyzer uses: microsoft/InclusivenessAnalyzer@v1.0.1 with: @@ -25,7 +27,9 @@ jobs: name: Check for inclusive language runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: Inclusiveness Analyzer uses: microsoft/InclusivenessAnalyzer@v1.0.1 with: From bba0de28d7a1fd1be43e316516c37fa61ee1c52d Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:00:22 -0700 Subject: [PATCH 09/14] ci: Use `woke` instead of `InclusivenessAnalyzer` --- .github/workflows/dei.yml | 44 +++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index 5f6cdc9a..ede6730d 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -11,27 +11,35 @@ env: CARGO_TERM_COLOR: always jobs: - inclusive_language_warnings: - name: List of non-inclusive language - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 2 - - name: Inclusiveness Analyzer - uses: microsoft/InclusivenessAnalyzer@v1.0.1 - with: - excludeUnchangedFiles: false - inclusive_language: name: Check for inclusive language runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: get-woke/woke-action@v0 with: - fetch-depth: 2 - - name: Inclusiveness Analyzer - uses: microsoft/InclusivenessAnalyzer@v1.0.1 - with: - failOnNonInclusiveTerm: true - excludeUnchangedFiles: false + fail-on-error: true +# inclusive_language_warnings: +# name: List of non-inclusive language +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# with: +# fetch-depth: 2 +# - name: Inclusiveness Analyzer +# uses: microsoft/InclusivenessAnalyzer@v1.0.1 +# with: +# excludeUnchangedFiles: false +# +# inclusive_language: +# name: Check for inclusive language +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# with: +# fetch-depth: 2 +# - name: Inclusiveness Analyzer +# uses: microsoft/InclusivenessAnalyzer@v1.0.1 +# with: +# failOnNonInclusiveTerm: true +# excludeUnchangedFiles: false From 9c7f9deb706eca16a645a9792c3cae01c8cc7cb3 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:01:23 -0700 Subject: [PATCH 10/14] Addd non-inclusive word to test --- .github/workflows/dei.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index ede6730d..c49e8f07 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -1,4 +1,5 @@ name: DEI Checks +# whitelist on: push: From f8971eccf9e439dee57ad4311fbe6cb900a4a78c Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:11:01 -0700 Subject: [PATCH 11/14] ci: Add custom `woke` config --- .github/workflows/dei.yml | 1 + .woke.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .woke.yml diff --git a/.github/workflows/dei.yml b/.github/workflows/dei.yml index c49e8f07..ed6d8172 100644 --- a/.github/workflows/dei.yml +++ b/.github/workflows/dei.yml @@ -1,5 +1,6 @@ name: DEI Checks # whitelist +# master on: push: diff --git a/.woke.yml b/.woke.yml new file mode 100644 index 00000000..897ad866 --- /dev/null +++ b/.woke.yml @@ -0,0 +1,14 @@ +rules: + - name: master + terms: + - master + alternatives: + - main + - primary + - leader + - name: slave + terms: + - slave + alternatives: + - secondary + - follower From e149ced370ea6ecb65333230c7c4039d65160d96 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:13:58 -0700 Subject: [PATCH 12/14] --wip-- [skip ci] --- .woke.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.woke.yml b/.woke.yml index 897ad866..bfc52c9e 100644 --- a/.woke.yml +++ b/.woke.yml @@ -1,4 +1,6 @@ +# Rules to use in addition to the defaults: https://github.com/get-woke/woke/blob/main/pkg/rule/default.yaml rules: + # The default rules don't have `master`, only `master-slave` - name: master terms: - master @@ -6,9 +8,3 @@ rules: - main - primary - leader - - name: slave - terms: - - slave - alternatives: - - secondary - - follower From 697f74a0a34c065323a9fb54ca2d56ad9955c5f3 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:33:43 -0700 Subject: [PATCH 13/14] --wip-- [skip ci] --- .woke.yml | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 256 insertions(+), 1 deletion(-) diff --git a/.woke.yml b/.woke.yml index bfc52c9e..d7a74a4f 100644 --- a/.woke.yml +++ b/.woke.yml @@ -1,5 +1,8 @@ -# Rules to use in addition to the defaults: https://github.com/get-woke/woke/blob/main/pkg/rule/default.yaml +# Rules to use in addition to the defaults from https://github.com/get-woke/woke/blob/main/pkg/rule/default.yaml + rules: + # These rules were pulled from https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json; refer to + # the original file for alternatives when not provided. # The default rules don't have `master`, only `master-slave` - name: master terms: @@ -8,3 +11,255 @@ rules: - main - primary - leader + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: whitelist + terms: + - whitelist + - white-list + - white list + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: blacklist + terms: + - blacklist + - black-list + - black list + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: minority + terms: + - minority + - minorities + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: brown bag + terms: + - brown bag + - brownbag + - brown-bag + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: white box + terms: + - white box + - whitebox + - white-box + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: black box + terms: + - black box + - blackbox + - black-box + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: culture fit + terms: + - culture fit + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: citizen + terms: + - citizen + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: guys + terms: + - guys + alternatives: + - everyone + - all + - y'all + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: gender specific pronouns + terms: + - he + - him + - his + - she + - her + - hers + alternatives: + - they + - them + - theirs + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: manpower + terms: + - manpower + - man-power + - man power + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: man hours + terms: + - man hours + - man-hours + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: mankind + terms: + - mankind + - man kind + - man-kind + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: chairman + terms: + - chairman + - chair man + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: foreman + terms: + - foreman + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: middleman + terms: + - middleman + - middle man + - middle-man + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: mother + terms: + - mother + - mothering + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: father + terms: + - father + - fathering + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: gender specific partner terms + terms: + - wife + - husband + - boyfriend + - girlfriend + alternatives: + - partner + - spouse + - significant other + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: gender specific nouns + terms: + - girl + - girls + - female + - females + - boy + - boys + - male + - males + alternatives: + - person + - persons + - people + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: mom test + terms: + - mom test + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: girlfriend test + terms: + - girlfriend test + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: ninja + terms: + - ninja + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: rock star + terms: + - rock star + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: housekeeping + terms: + - housekeeping + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: opposite sex + terms: + - opposite sex + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: grandfathered in + terms: + - grandfathered in + - grandfathered + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: midget + terms: + - midget + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: sanity + terms: + - sanity + - crazy + - insane + - sane + - sanity check + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: freak + terms: + - freak + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: tone deaf + terms: + - tone deaf + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: blind spot + terms: + - blind spot + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: OCD + terms: + - OCD + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: depressed + terms: + - depressed + - depressing + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: handicap + terms: + - handicap + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: cripple + terms: + - cripple + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: retard + terms: + - retard + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + + - name: dummy + terms: + - dummy value + - dummy + alternatives: + - placeholder + note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" From cbb9638b9cea5f7e068a8e9fe96638a61b532db7 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:37:41 -0700 Subject: [PATCH 14/14] --wip-- [skip ci] --- .woke.yml | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) diff --git a/.woke.yml b/.woke.yml index d7a74a4f..41b50fa7 100644 --- a/.woke.yml +++ b/.woke.yml @@ -12,6 +12,9 @@ rules: - primary - leader note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: whitelist terms: @@ -19,6 +22,9 @@ rules: - white-list - white list note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: blacklist terms: @@ -26,12 +32,18 @@ rules: - black-list - black list note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: minority terms: - minority - minorities note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: brown bag terms: @@ -39,6 +51,9 @@ rules: - brownbag - brown-bag note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: white box terms: @@ -46,6 +61,9 @@ rules: - whitebox - white-box note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: black box terms: @@ -53,16 +71,25 @@ rules: - blackbox - black-box note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: culture fit terms: - culture fit note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: citizen terms: - citizen note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: guys terms: @@ -72,6 +99,9 @@ rules: - all - y'all note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: gender specific pronouns terms: @@ -86,6 +116,9 @@ rules: - them - theirs note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: manpower terms: @@ -93,12 +126,18 @@ rules: - man-power - man power note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: man hours terms: - man hours - man-hours note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: mankind terms: @@ -106,17 +145,26 @@ rules: - man kind - man-kind note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: chairman terms: - chairman - chair man note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: foreman terms: - foreman note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: middleman terms: @@ -124,18 +172,27 @@ rules: - middle man - middle-man note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: mother terms: - mother - mothering note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: father terms: - father - fathering note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: gender specific partner terms terms: @@ -148,6 +205,9 @@ rules: - spouse - significant other note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: gender specific nouns terms: @@ -164,47 +224,74 @@ rules: - persons - people note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: mom test terms: - mom test note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: girlfriend test terms: - girlfriend test note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: ninja terms: - ninja note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: rock star terms: - rock star note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: housekeeping terms: - housekeeping note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: opposite sex terms: - opposite sex note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: grandfathered in terms: - grandfathered in - grandfathered note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: midget terms: - midget note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: sanity terms: @@ -214,47 +301,74 @@ rules: - sane - sanity check note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: freak terms: - freak note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: tone deaf terms: - tone deaf note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: blind spot terms: - blind spot note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: OCD terms: - OCD note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: depressed terms: - depressed - depressing note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: handicap terms: - handicap note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: cripple terms: - cripple note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: retard terms: - retard note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true - name: dummy terms: @@ -263,3 +377,6 @@ rules: alternatives: - placeholder note: "See the following for other alternatives: https://github.com/microsoft/InclusivenessAnalyzer/blob/main/src/data.json" + options: + include_note: true + word_boundary: true