diff --git a/.codespellignorelines b/.codespellignorelines index d641f0aaaa6bb..4b0179fdc9737 100644 --- a/.codespellignorelines +++ b/.codespellignorelines @@ -1,3 +1,5 @@ f"DELETE {source_table} FROM { ', '.join(_from_name(tbl) for tbl in stmt.froms) }" for frm in source_query.selectable.froms: roles = relationship("Role", secondary=assoc_user_role, backref="user", lazy="selectin") + The platform supports **C**reate, **R**ead, **U**pdate, and **D**elete operations on most resources. +
Code block\ndoes not\nrespect\nnewlines\n
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cc40fd856d89d..3bcd3085b8e54 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -292,7 +292,7 @@ repos:
- --line-length
- '99999'
- repo: https://github.com/codespell-project/codespell
- rev: v2.1.0
+ rev: v2.2.2
hooks:
- id: codespell
name: Run codespell to check for common misspellings in files
diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst
index e963142a69d64..9c2cf3c25adc1 100644
--- a/RELEASE_NOTES.rst
+++ b/RELEASE_NOTES.rst
@@ -7956,7 +7956,7 @@ Improvement
- [AIRFLOW-3862] Check types with mypy. (#4685)
- [AIRFLOW-251] Add option SQL_ALCHEMY_SCHEMA parameter to specify schema for metadata (#4199)
- [AIRFLOW-1814] Temple PythonOperator {op_args,op_kwargs} fields (#4691)
-- [AIRFLOW-3730] Standarization use of logs mechanisms (#4556)
+- [AIRFLOW-3730] Standardization use of logs mechanisms (#4556)
- [AIRFLOW-3770] Validation of documentation on CI] (#4593)
- [AIRFLOW-3866] Run docker-compose pull silently in CI (#4688)
- [AIRFLOW-3685] Move licence header check (#4497)
diff --git a/airflow/providers/sftp/hooks/sftp.py b/airflow/providers/sftp/hooks/sftp.py
index 94bb806c13d8e..450b911003819 100644
--- a/airflow/providers/sftp/hooks/sftp.py
+++ b/airflow/providers/sftp/hooks/sftp.py
@@ -305,7 +305,7 @@ def walktree(
) -> None:
"""
Recursively descend, depth first, the directory tree rooted at
- path, calling discreet callback functions for each regular file,
+ path, calling discrete callback functions for each regular file,
directory and unknown file type.
:param str path:
diff --git a/airflow/utils/code_utils.py b/airflow/utils/code_utils.py
index b5723ce7ef083..7783fec0a1edb 100644
--- a/airflow/utils/code_utils.py
+++ b/airflow/utils/code_utils.py
@@ -56,7 +56,7 @@ def prepare_code_snippet(file_path: str, line_no: int, context_lines_count: int
"""
Prepare code snippet with line numbers and a specific line marked.
- :param file_path: File nam
+ :param file_path: File name
:param line_no: Line number
:param context_lines_count: The number of lines that will be cut before and after.
:return: str
diff --git a/dev/breeze/doc/adr/0002-implement-standalone-python-command.md b/dev/breeze/doc/adr/0002-implement-standalone-python-command.md
index b8b56d7588ef9..8aab0db417534 100644
--- a/dev/breeze/doc/adr/0002-implement-standalone-python-command.md
+++ b/dev/breeze/doc/adr/0002-implement-standalone-python-command.md
@@ -127,7 +127,7 @@ The main decision is:
**Vast majority of both Breeze and our CI scripts should be Python-based**
There are likely a number of scripts that will remain in Bash, but they should contain no sophisticated
-logic, they should not haave common code in form of libraries and only used to execute simple tasks inside
+logic, they should not have common code in form of libraries and only used to execute simple tasks inside
Docker containers. No Bash should ever be used in the host environment.
There are a few properties of Breeze/CI scripts that should be maintained though
diff --git a/dev/stats/get_important_pr_candidates.py b/dev/stats/get_important_pr_candidates.py
index 5e22966b35c8d..28a8081e01f7a 100755
--- a/dev/stats/get_important_pr_candidates.py
+++ b/dev/stats/get_important_pr_candidates.py
@@ -354,7 +354,7 @@ def verboseStr(self) -> str:
)
@click.option("--top-number", type=int, default=DEFAULT_TOP_PRS, help="The number of PRs to select")
@click.option("--save", type=click.File("wb"), help="Save PR data to a pickle file")
-@click.option("--load", type=click.File("rb"), help="Load PR data from a file and recalcuate scores")
+@click.option("--load", type=click.File("rb"), help="Load PR data from a file and recalculate scores")
@click.option("--verbose", is_flag="True", help="Print scoring details")
def main(
github_token: str,
diff --git a/docs/apache-airflow/extra-packages-ref.rst b/docs/apache-airflow/extra-packages-ref.rst
index 5787c72d4065d..e834154cfec54 100644
--- a/docs/apache-airflow/extra-packages-ref.rst
+++ b/docs/apache-airflow/extra-packages-ref.rst
@@ -300,7 +300,7 @@ These are extras that provide support for integration with external systems via
Bundle extras
-------------
-These are extras that install one ore more extras as a bundle. Note that these extras should only be used for "development" version
+These are extras that install one or more extras as a bundle. Note that these extras should only be used for "development" version
of Airflow - i.e. when Airflow is installed from sources. Because of the way how bundle extras are constructed they might not
work when airflow is installed from 'PyPI`.
diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt
index 25c0670f57f56..64a9fefa6dfac 100644
--- a/docs/spelling_wordlist.txt
+++ b/docs/spelling_wordlist.txt
@@ -391,6 +391,7 @@ Decrypt
decrypt
decrypted
Decrypts
+dedented
deduplicate
deduplication
deepcopy
@@ -406,6 +407,7 @@ DependencyMixin
deploymentUrl
Deprecations
deps
+deques
deregister
desc
deserialization
@@ -1354,7 +1356,6 @@ ssm
Stackdriver
stackdriver
stacktrace
-Standarization
starttls
StatefulSet
StatefulSets
diff --git a/tests/providers/docker/operators/test_docker.py b/tests/providers/docker/operators/test_docker.py
index 0430e0ae2cb6a..02734eede8109 100644
--- a/tests/providers/docker/operators/test_docker.py
+++ b/tests/providers/docker/operators/test_docker.py
@@ -101,7 +101,7 @@ def test_execute(self):
host_tmp_dir="/host/airflow",
container_name="test_container",
tty=True,
- hostname="test.contrainer.host",
+ hostname="test.container.host",
device_requests=[DeviceRequest(count=-1, capabilities=[["gpu"]])],
log_opts_max_file="5",
log_opts_max_size="10m",
@@ -128,7 +128,7 @@ def test_execute(self):
entrypoint=["sh", "-c"],
working_dir="/container/path",
tty=True,
- hostname="test.contrainer.host",
+ hostname="test.container.host",
)
self.client_mock.create_host_config.assert_called_once_with(
mounts=[
@@ -185,7 +185,7 @@ def test_execute_no_temp_dir(self):
shm_size=1000,
host_tmp_dir="/host/airflow",
container_name="test_container",
- hostname="test.contrainer.host",
+ hostname="test.container.host",
tty=True,
)
operator.execute(None)
@@ -204,7 +204,7 @@ def test_execute_no_temp_dir(self):
entrypoint=["sh", "-c"],
working_dir="/container/path",
tty=True,
- hostname="test.contrainer.host",
+ hostname="test.container.host",
)
self.client_mock.create_host_config.assert_called_once_with(
mounts=[