Skip to content

Add check for non-inclusive language - #132

Merged
nhosoi merged 2 commits into
linux-system-roles:mainfrom
nhosoi:woke-action
Jan 20, 2023
Merged

Add check for non-inclusive language#132
nhosoi merged 2 commits into
linux-system-roles:mainfrom
nhosoi:woke-action

Conversation

@nhosoi

@nhosoi nhosoi commented Dec 20, 2022

Copy link
Copy Markdown
Contributor

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

nhosoi commented Jan 16, 2023

Copy link
Copy Markdown
Contributor Author

[citest]

@natoscott natoscott left a comment

Copy link
Copy Markdown
Collaborator

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

nhosoi commented Jan 17, 2023

Copy link
Copy Markdown
Contributor Author

[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 <nhosoi@redhat.com>
- Rename tests/tests_sanity_.*.yml to tests/tests_verify_.*.yml.
- CHANGELOG.md - clean up non-inclusive words.
@nhosoi

nhosoi commented Jan 17, 2023

Copy link
Copy Markdown
Contributor Author

[citest]

@nhosoi

nhosoi commented Jan 19, 2023

Copy link
Copy Markdown
Contributor Author

@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

nhosoi commented Jan 20, 2023

Copy link
Copy Markdown
Contributor Author

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

@natoscott natoscott left a comment

Copy link
Copy Markdown
Collaborator

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