mik-laj commented on issue #48870:
URL: https://github.com/apache/airflow/issues/48870#issuecomment-2783036691
I suspect there may be more problems in `ruff analyze graph`.
For example, this command returns empty list
```
$ ruff analyze graph | jq '.[$K]' --arg K
"providers/snowflake/src/airflow/providers/snowflake/utils/openlineage.py"
warning: `ruff analyze graph` is experimental and may change without warning
[]
```
But we have imports in this file:
```
from __future__ import annotations
import datetime
import logging
from contextlib import closing
from typing import TYPE_CHECKING
from urllib.parse import quote, urlparse, urlunparse
from airflow.providers.common.compat.openlineage.check import
require_openlineage_version
from airflow.providers.snowflake.version_compat import AIRFLOW_V_2_10_PLUS,
AIRFLOW_V_3_0_PLUS
from airflow.utils import timezone
from airflow.utils.state import TaskInstanceState
if TYPE_CHECKING:
from openlineage.client.event_v2 import RunEvent
from openlineage.client.facet_v2 import JobFacet
from airflow.providers.snowflake.hooks.snowflake import SnowflakeHook
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]