Skip to content

Commit c548e9c

Browse files
committed
Fix misspell lint: recognise->recognize, behaviour->behavior in trigger_and_wait_pipelines.py
1 parent 9331192 commit c548e9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/python/trigger_and_wait_pipelines.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _parse_enable_flags(raw: list[str]) -> dict[int, bool]:
374374
key = key.strip()
375375
if key not in _PIPELINE_KEY_TO_ID:
376376
logger.warning("##[warning]Unknown pipeline key: %s", key)
377-
# invalid key -> non-empty set -> ensures that we don't enable all pipelines if we don't recognise one.
377+
# invalid key -> non-empty set -> ensures that we don't enable all pipelines if we don't recognize one.
378378
result[-1] = False
379379
continue
380380
result[_PIPELINE_KEY_TO_ID[key]] = val.strip().lower() == "true"
@@ -391,7 +391,7 @@ def _read_enable_flags_from_env() -> dict[int, bool]:
391391
if pipeline_key not in _PIPELINE_KEY_TO_ID:
392392
# Given that env vars are a swamp for config, just assume it wasn't meant for us.
393393
# Still warn about it, however.
394-
# n.b. this differs in behaviour from cmd-ln parsing, where we mark unrecognised keys.
394+
# n.b. this differs in behavior from cmd-ln parsing, where we mark unrecognised keys.
395395
logger.warning("##[warning]Unknown pipeline key in env-vars, ignoring: %s", key)
396396
continue
397397
result[_PIPELINE_KEY_TO_ID[pipeline_key]] = value.strip().lower() == "true"

0 commit comments

Comments
 (0)