This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 04a13b50624 misc: fix spelling in md,py,rst,yaml files (#48781)
04a13b50624 is described below
commit 04a13b50624b95801521b867bbd5d06e24dbf401
Author: John Bampton <[email protected]>
AuthorDate: Fri Jul 25 07:34:36 2025 +1000
misc: fix spelling in md,py,rst,yaml files (#48781)
* misc: fix spelling in md,py,rst,yaml files
* Update dev/breeze/src/airflow_breeze/utils/run_utils.py
Co-authored-by: Tzu-ping Chung <[email protected]>
---------
Co-authored-by: Tzu-ping Chung <[email protected]>
---
chart/templates/check-values.yaml | 2 +-
chart/values.yaml | 2 +-
contributing-docs/testing/k8s_tests.rst | 2 +-
dev/README_RELEASE_PROVIDERS.md | 2 +-
dev/breeze/src/airflow_breeze/commands/release_command.py | 2 +-
.../src/airflow_breeze/commands/release_management_commands.py | 4 ++--
dev/breeze/src/airflow_breeze/commands/setup_commands.py | 8 ++++----
dev/breeze/src/airflow_breeze/utils/run_utils.py | 2 +-
dev/send_email.py | 4 ++--
helm-tests/tests/helm_tests/other/test_pgbouncer.py | 4 ++--
task-sdk/src/airflow/sdk/bases/operator.py | 6 +++---
task-sdk/src/airflow/sdk/execution_time/supervisor.py | 2 +-
task-sdk/tests/task_sdk/definitions/test_secrets_masker.py | 2 +-
13 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/chart/templates/check-values.yaml
b/chart/templates/check-values.yaml
index a4ede57f3bc..7bdead95b08 100644
--- a/chart/templates/check-values.yaml
+++ b/chart/templates/check-values.yaml
@@ -18,7 +18,7 @@
*/}}
{{- /*
-The sole purpose of this yaml file is it to check the values file is
consistent for some complexe combinations.
+The sole purpose of this YAML file is it to check the values file is
consistent for some complex combinations.
*/ -}}
{{- /*
diff --git a/chart/values.yaml b/chart/values.yaml
index b5812648f31..2212fb6e76a 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -2693,7 +2693,7 @@ redis:
topologySpreadConstraints: []
priorityClassName: ~
- # Set to 0 for backwards-compatiblity
+ # Set to 0 for backwards-compatibility
uid: 0
# If not set, `redis.uid` will be used
securityContext: {}
diff --git a/contributing-docs/testing/k8s_tests.rst
b/contributing-docs/testing/k8s_tests.rst
index 3910532cf49..4a16bae3249 100644
--- a/contributing-docs/testing/k8s_tests.rst
+++ b/contributing-docs/testing/k8s_tests.rst
@@ -366,7 +366,7 @@ Should show the status of current KinD cluster.
Note, that this command by default uses ``--use-uv`` flag to use ``uv`` to
build the image instead of
``pip``. This is much faster (50% faster) to rebuild the image and iterate
with your code but if you
built your PROD image without ``--use-uv`` flag the first build might be a
bit longer. You can also switch
- to using a ``pip`` based image by specifying ``--no-use-uv`` flag together
with ``--rebuid-base-image``.
+ to using a ``pip`` based image by specifying ``--no-use-uv`` flag together
with ``--rebuild-base-image``.
.. code-block:: bash
diff --git a/dev/README_RELEASE_PROVIDERS.md b/dev/README_RELEASE_PROVIDERS.md
index 000a1a15eed..3fa0cb6fe0f 100644
--- a/dev/README_RELEASE_PROVIDERS.md
+++ b/dev/README_RELEASE_PROVIDERS.md
@@ -412,7 +412,7 @@ If you are seeing others there is an issue.
You can remove the redundant provider files manually with:
```shell script
-svn rm file_name // repeate that for every file
+svn rm file_name // repeat that for every file
svn commit -m "delete old providers"
```
diff --git a/dev/breeze/src/airflow_breeze/commands/release_command.py
b/dev/breeze/src/airflow_breeze/commands/release_command.py
index 5d8d45938c3..4fe371c2e7a 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_command.py
@@ -128,7 +128,7 @@ def retag_constraints(release_candidate, version):
],
check=True,
)
- if confirm_action(f"Push contraints-{version} tag to GitHub?"):
+ if confirm_action(f"Push constraints-{version} tag to GitHub?"):
run_command(
["git", "push", "origin", "tag", f"constraints-{version}"],
check=True,
diff --git
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 22d2b9ff56a..c8d59318b9c 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -3103,8 +3103,8 @@ def _get_python_client_version(version_suffix):
version = Version(python_client_version)
if version_suffix:
if version.pre:
- currrent_suffix = version.pre[0] + str(version.pre[1])
- if currrent_suffix != version_suffix:
+ current_suffix = version.pre[0] + str(version.pre[1])
+ if current_suffix != version_suffix:
get_console().print(
f"[error]The version suffix for PyPI ({version_suffix})
does not match the "
f"suffix in the version ({version})[/]"
diff --git a/dev/breeze/src/airflow_breeze/commands/setup_commands.py
b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
index 68954529007..c662a1a21ec 100644
--- a/dev/breeze/src/airflow_breeze/commands/setup_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/setup_commands.py
@@ -234,7 +234,7 @@ def change_config(
touch_cache_file(colour_file)
get_console().print("[info]Disable Colour[/]")
- def get_supress_status(file: str):
+ def get_suppress_status(file: str):
return "disabled" if check_if_cache_exists(file) else "enabled"
def get_status(file: str):
@@ -248,11 +248,11 @@ def change_config(
get_console().print(f"[info]* Postgres version: {postgres_version}[/]")
get_console().print(f"[info]* MySQL version: {mysql_version}[/]")
get_console().print()
- get_console().print(f"[info]* ASCIIART:
{get_supress_status(asciiart_file)}[/]")
- get_console().print(f"[info]* Cheatsheet:
{get_supress_status(cheatsheet_file)}[/]")
+ get_console().print(f"[info]* ASCIIART:
{get_suppress_status(asciiart_file)}[/]")
+ get_console().print(f"[info]* Cheatsheet:
{get_suppress_status(cheatsheet_file)}[/]")
get_console().print()
get_console().print()
- get_console().print(f"[info]* Colour:
{get_supress_status(colour_file)}[/]")
+ get_console().print(f"[info]* Colour:
{get_suppress_status(colour_file)}[/]")
get_console().print()
diff --git a/dev/breeze/src/airflow_breeze/utils/run_utils.py
b/dev/breeze/src/airflow_breeze/utils/run_utils.py
index dffb56c0030..805ca9b6f2c 100644
--- a/dev/breeze/src/airflow_breeze/utils/run_utils.py
+++ b/dev/breeze/src/airflow_breeze/utils/run_utils.py
@@ -84,7 +84,7 @@ def run_command(
:param cmd: command to run
:param title: optional title for the command (otherwise likely title is
automatically determined)
- :param check: whether to check status value and run exception (same as
POpem)
+ :param check: whether to check status value and run exception (same as
Popen)
:param no_output_dump_on_exception: whether to suppress printing logs from
output when command fails
:param env: mapping of environment variables to set for the run command
:param cwd: working directory to set for the command
diff --git a/dev/send_email.py b/dev/send_email.py
index 76eddfe66c2..f4380172ae7 100755
--- a/dev/send_email.py
+++ b/dev/send_email.py
@@ -50,7 +50,7 @@ def string_comma_to_list(message: str) -> list[str]:
def send_email(
smtp_server: str,
- smpt_port: int,
+ smtp_port: int,
username: str,
password: str,
sender_email: str,
@@ -61,7 +61,7 @@ def send_email(
Send a simple text email (SMTP)
"""
context = ssl.create_default_context()
- with smtplib.SMTP(smtp_server, smpt_port) as server:
+ with smtplib.SMTP(smtp_server, smtp_port) as server:
server.starttls(context=context)
server.login(username, password)
server.sendmail(sender_email, receiver_email, message)
diff --git a/helm-tests/tests/helm_tests/other/test_pgbouncer.py
b/helm-tests/tests/helm_tests/other/test_pgbouncer.py
index 3ad811aa98a..156c7c97900 100644
--- a/helm-tests/tests/helm_tests/other/test_pgbouncer.py
+++ b/helm-tests/tests/helm_tests/other/test_pgbouncer.py
@@ -751,7 +751,7 @@ class TestPgbouncerExporter:
"enabled": True,
"metricsExporterSidecar": {
"statsSecretName": "existing-stats-secret",
- "statsSecretKey": "exisiting-stats-secret-key",
+ "statsSecretKey": "existing-stats-secret-key",
},
},
},
@@ -760,7 +760,7 @@ class TestPgbouncerExporter:
assert
jmespath.search("spec.template.spec.containers[1].env[0].valueFrom.secretKeyRef",
docs[0]) == {
"name": "existing-stats-secret",
- "key": "exisiting-stats-secret-key",
+ "key": "existing-stats-secret-key",
}
def test_unused_secret_key(self):
diff --git a/task-sdk/src/airflow/sdk/bases/operator.py
b/task-sdk/src/airflow/sdk/bases/operator.py
index 85f6b0745b1..398ee5649a2 100644
--- a/task-sdk/src/airflow/sdk/bases/operator.py
+++ b/task-sdk/src/airflow/sdk/bases/operator.py
@@ -406,7 +406,7 @@ class ExecutorSafeguard:
if "airflow.configuration" in sys.modules:
- # Don't try and import it if its not already loaded
+ # Don't try and import it if it's not already loaded
from airflow.configuration import conf
ExecutorSafeguard.test_mode = conf.getboolean("core", "unit_test_mode")
@@ -514,7 +514,7 @@ class BaseOperatorMeta(abc.ABCMeta):
# BUT: only do this _ONCE_, not once for each class in the
hierarchy
if not instantiated_from_mapped and func ==
self.__init__.__wrapped__: # type: ignore[misc]
self._set_xcomargs_dependencies()
- # Mark instance as instantiated so that futre attr setting
updates xcomarg-based deps.
+ # Mark instance as instantiated so that future attr setting
updates xcomarg-based deps.
object.__setattr__(self, "_BaseOperator__instantiated", True)
return result
@@ -591,7 +591,7 @@ BASEOPERATOR_ARGS_EXPECTED_TYPES = {
# here (metaclass, custom `__setattr__` behaviour) and this fights with attrs
too much to make it worth it.
#
# To future reader: if you want to try and make this a "normal" attrs class,
go ahead and attempt it. If you
-# get no where leave your record here for the next poor soul and what problems
you ran in to.
+# get nowhere leave your record here for the next poor soul and what problems
you ran in to.
#
# @ashb, 2024/10/14
# - "Can't combine custom __setattr__ with on_setattr hooks"
diff --git a/task-sdk/src/airflow/sdk/execution_time/supervisor.py
b/task-sdk/src/airflow/sdk/execution_time/supervisor.py
index d5498b9b078..f5718d7726d 100644
--- a/task-sdk/src/airflow/sdk/execution_time/supervisor.py
+++ b/task-sdk/src/airflow/sdk/execution_time/supervisor.py
@@ -211,7 +211,7 @@ def _reset_signals():
def _configure_logs_over_json_channel(log_fd: int):
- # A channel that the task can send JSON-formated logs over.
+ # A channel that the task can send JSON-formatted logs over.
#
# JSON logs sent this way will be handled nicely
from airflow.sdk.log import configure_logging
diff --git a/task-sdk/tests/task_sdk/definitions/test_secrets_masker.py
b/task-sdk/tests/task_sdk/definitions/test_secrets_masker.py
index 2a111ceefba..ca20cf2c9f4 100644
--- a/task-sdk/tests/task_sdk/definitions/test_secrets_masker.py
+++ b/task-sdk/tests/task_sdk/definitions/test_secrets_masker.py
@@ -153,7 +153,7 @@ class TestSecretsMasker:
called, and fixing this "properly" is hard/impossible.
(It would likely need to construct a custom traceback that changed the
- source. I have no idead if that is even possible)
+ source. I have no idea if that is even possible)
This test illustrates that, but ix marked xfail in case someone wants
to
fix this later.