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 #132

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

nhosoi
Copy link
Contributor

@nhosoi nhosoi commented Dec 20, 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

CHANGELOG.md - cleanup non-inclusive words.

Note: The file name tests/tests_sanity_*.yml is preferable not to include sanity in it. We set the severity level of sanity to warning at https://github.com/linux-system-roles/tox-lsr/blob/main/src/tox_lsr/config_files/woke.yml#L59. So, they are not reported as an error for now. What should we do on this issue? Shall we leave them as they are or rename them to something else not including sanity?

Second note: To skip the warnings, we have to apply this patch (get-woke/woke#252) to woke. Is it ok to do it in this pr?

@nhosoi nhosoi force-pushed the woke-action branch 2 times, most recently from 1981eff to ca1a16f Compare January 16, 2023 18:44
@nhosoi
Copy link
Contributor Author

nhosoi commented Jan 16, 2023

[citest]

Copy link
Collaborator

@natoscott natoscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nhosoi thanks for looking into this - I'd be happy with switching to phrasing like 'confidence test' here instead of sanity, which would simplify this change I think? (edit: 'verify' like you used in ansible-pcp seems like an good alternative too).

@nhosoi
Copy link
Contributor Author

nhosoi commented Jan 17, 2023

[citest bad]

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]>
- Rename tests/tests_sanity_.*.yml to tests/tests_verify_.*.yml.
- CHANGELOG.md - clean up non-inclusive words.
@nhosoi
Copy link
Contributor Author

nhosoi commented Jan 17, 2023

[citest]

@nhosoi
Copy link
Contributor Author

nhosoi commented Jan 19, 2023

@natoscott, @richm, could there be anything else we should update this pr to make sure the inclusive language is ensured (=~ woke does not return an error)? Thanks!

@nhosoi
Copy link
Contributor Author

nhosoi commented Jan 20, 2023

@natoscott, is it ok with you to merge this pr, too?

Copy link
Collaborator

@natoscott natoscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nhosoi looks good - thanks for working on it!

@nhosoi nhosoi merged commit cd70fe2 into linux-system-roles:main Jan 20, 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