Skip to content

Commit 5790fda

Browse files
kartbenpdgendt
authored andcommitted
Use inclusive language instead of "sanity" / "sanity check"
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent a014f35 commit 5790fda

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/west/manifest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _err(message):
174174

175175

176176
# The parsed contents of a manifest YAML file as returned by _load(),
177-
# after sanitychecking with validate().
177+
# after schema validation with validate().
178178
ManifestDataType = str | dict
179179

180180
# Logging
@@ -783,7 +783,7 @@ class ImportFlag(enum.IntFlag):
783783

784784

785785
def _flags_ok(flags: ImportFlag) -> bool:
786-
# Sanity-check the combination of flags.
786+
# Validate the combination of flags.
787787
F_I = ImportFlag.IGNORE
788788
F_FP = ImportFlag.FORCE_PROJECTS
789789
F_IP = ImportFlag.IGNORE_PROJECTS
@@ -2230,7 +2230,7 @@ def _load_self(self, manifest_data: dict[str, Any]) -> None:
22302230
)
22312231

22322232
def _assert_imports_ok(self) -> None:
2233-
# Sanity check that we aren't calling code that does importing
2233+
# Check that we aren't calling code that does importing
22342234
# if the flags tell us not to.
22352235
#
22362236
# Could be deleted if this feature stabilizes and we never hit

tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_config_global():
9292
assert cmd('config pytest.global').rstrip() == 'bar'
9393
assert cmd('config --global pytest.global').rstrip() == 'bar'
9494

95-
# Sanity check that we can create multiple variables per section.
95+
# Check that we can create multiple variables per section.
9696
# Just use the API here; there's coverage already that the command line
9797
# and API match.
9898
cmd('config --global pytest.global2 foo2')

0 commit comments

Comments
 (0)