Skip to content

Commit efd07a5

Browse files
committed
changed ignore compatibility check comment name
1 parent f3a29fb commit efd07a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airflow/providers/slack/transfers/sql_to_slack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _get_hook(self) -> DbApiHook:
129129
conn = BaseHook.get_connection(self.sql_conn_id)
130130
if version >= '2.3':
131131
# "hook_params" were introduced to into "get_hook()" only in Airflow 2.3.
132-
hook = conn.get_hook(hook_params=self.sql_hook_params) # ignore 2.2 comp check
132+
hook = conn.get_hook(hook_params=self.sql_hook_params) # ignore airflow compat check
133133
else:
134134
# For supporting Airflow versions < 2.3, we backport "get_hook()" method. This should be removed
135135
# when "apache-airflow-providers-slack" will depend on Airflow >= 2.3.

scripts/ci/pre_commit/pre_commit_check_2_2_compatibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
errors: List[str] = []
3434

35-
SKIP_COMP_CHECK = "# ignore 2.2 comp check"
35+
SKIP_COMP_CHECK = "# ignore airflow compat check"
3636
TRY_NUM_MATCHER = re.compile(r".*context.*\[[\"']try_number[\"']].*")
3737
GET_MANDATORY_MATCHER = re.compile(r".*conf\.get_mandatory_value")
3838
GET_AIRFLOW_APP_MATCHER = re.compile(r".*get_airflow_app\(\)")

0 commit comments

Comments
 (0)