Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for non-inclusive language #91

Merged
merged 2 commits into from
Jan 4, 2023

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?

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 <[email protected]>
- 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