diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3f61b3f0b797d..a32e1695000de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -211,7 +211,7 @@ repos: pass_filenames: false require_serial: true - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.18.0 hooks: - id: blacken-docs name: Run black on Python code blocks in documentation files @@ -224,7 +224,7 @@ repos: alias: blacken-docs additional_dependencies: [black==23.10.0] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-merge-conflict name: Check that merge conflicts are not being committed @@ -297,7 +297,7 @@ repos: - --line-length - '99999' - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell name: Run codespell to check for common misspellings in files diff --git a/contributing-docs/testing/k8s_tests.rst b/contributing-docs/testing/k8s_tests.rst index 4c00ec42a6893..226ac01244596 100644 --- a/contributing-docs/testing/k8s_tests.rst +++ b/contributing-docs/testing/k8s_tests.rst @@ -365,7 +365,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 specifyin ``--no-use-uv`` flag together with ``--rebuid-base-image``. + to using a ``pip`` based image by specifying ``--no-use-uv`` flag together with ``--rebuid-base-image``. .. code-block:: bash diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index fb4666fd5a02f..066d21e8d4330 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -1082,6 +1082,8 @@ noqa nosasl NotFound notificationChannels +NotIn +notin npm ns ntlm @@ -1628,6 +1630,7 @@ Tez tez theService Thinknear +THIRDPARTY TicketAudit timedelta timedeltas diff --git a/tests/providers/cncf/kubernetes/utils/test_pod_manager.py b/tests/providers/cncf/kubernetes/utils/test_pod_manager.py index e4b794b90ec90..4ff229949411b 100644 --- a/tests/providers/cncf/kubernetes/utils/test_pod_manager.py +++ b/tests/providers/cncf/kubernetes/utils/test_pod_manager.py @@ -557,7 +557,7 @@ def test_extract_xcom_success(self, mock_exec_xcom_kill, mock_exec_pod_command, def test_extract_xcom_failure(self, mock_exec_xcom_kill, mock_exec_pod_command, mock_kubernetes_stream): """test when invalid json is retrieved from xcom sidecar container.""" with pytest.raises(JSONDecodeError): - xcom_json = """{"a": "tru""" + xcom_json = """{"a": "tru""" # codespell:ignore tru mock_pod = MagicMock() mock_exec_pod_command.return_value = xcom_json self.pod_manager.extract_xcom(pod=mock_pod) diff --git a/tests/providers/google/cloud/hooks/test_vision.py b/tests/providers/google/cloud/hooks/test_vision.py index 52bbd906801fc..814e412ee0fc5 100644 --- a/tests/providers/google/cloud/hooks/test_vision.py +++ b/tests/providers/google/cloud/hooks/test_vision.py @@ -332,7 +332,6 @@ def test_update_productset_explicit_name_different_from_constructed(self, get_co metadata=(), ) err = ctx.value - # self.assertIn("The required parameter 'project_id' is missing", str(err)) assert err assert ERR_DIFF_NAMES.format( explicit_name=explicit_ps_name, diff --git a/tests/utils/test_cli_util.py b/tests/utils/test_cli_util.py index 03056d3e20e4d..554365ccb68e2 100644 --- a/tests/utils/test_cli_util.py +++ b/tests/utils/test_cli_util.py @@ -138,7 +138,7 @@ def test_cli_create_user_supplied_password_is_masked( "airflow.utils.session.create_session" ) as mock_create_session: metrics = cli._build_metrics(args[1], namespace) - # Make it so the default_action_log doesn't actually commit the txn, by giving it a nexted txn + # Make it so the default_action_log doesn't actually commit the txn, by giving it a next txn # instead mock_create_session.return_value = session.begin_nested() mock_create_session.return_value.bulk_insert_mappings = session.bulk_insert_mappings