Skip to content

Add check for non-inclusive language#91

Merged
richm merged 2 commits intolinux-system-roles:masterfrom
nhosoi:woke-action
Jan 4, 2023
Merged

Add check for non-inclusive language#91
richm merged 2 commits intolinux-system-roles:masterfrom
nhosoi:woke-action

Conversation

@nhosoi
Copy link
Contributor

@nhosoi nhosoi commented Dec 21, 2022

Add a check for usage of terms and language that is considered
non-inclusive. We are using the woke tool for this with a wordlist
that can be found at
https://github.com/linux-system-roles/tox-lsr/blob/main/src/tox_lsr/config_files/woke.yml

Clean up non-inclusive words.

  • CHANGELOG.md
  • README.md
  • library/nbde_client_clevis.py
  • tests/tasks/cleanup_test.yml

Note: master is left in nbde_client_clevis.py as follows, which causes the non-inclusive language check action fails.

library/nbde_client_clevis.py:    """Generate a new key with the same entropy as the LUKS master key.

There are three ways to fix it - 1) replacing LUKS master key with a phrase that does not include master or 2) leaving LUKS master key as it is and applying get-woke/woke#252 that allows the warning level severity or 3) ignoring "the LUKS master key" by wokeignore:rule=master.

I've updated the pr using (3) as seen at https://github.com/linux-system-roles/nbde_client/pull/91/files#diff-fcb01b85ce6e35eb2f419f284a8ac712d435336b141a96ec73a2a03edade7f5aR1003, which makes the woke test pass. Is it ok?

@richm richm requested a review from sergio-correia December 21, 2022 18:24
nhosoi added 2 commits January 3, 2023 17:11
Add a check for usage of terms and language that is considered
non-inclusive. We are using the woke tool for this with a wordlist
that can be found at
https://github.com/linux-system-roles/tox-lsr/blob/main/src/tox_lsr/config_files/woke.yml

Signed-off-by: Noriko Hosoi <nhosoi@redhat.com>
- CHANGELOG.md
- README.md
- library/nbde_client_clevis.py
- tests/tasks/cleanup_test.yml

Ignore "the LUKS master key" by wokeignore:rule=master in
library/nbde_client_clevis.py.
@richm
Copy link
Contributor

richm commented Jan 4, 2023

lgtm - @sergio-correia ?

@sergio-correia
Copy link
Member

LGTM as well. Apologies for the delay, I missed this one.

@richm richm merged commit bbb537d into linux-system-roles:master Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants