Open ericwb opened 7 months ago
Describe the bug For some rules that check kwargs, if a zipped dict is passed as the argument, the rule fails to understand this.
For example:
SMTP(**smtp_kwargs)
To Reproduce Steps to reproduce the behavior:
Expected behavior Rules that check kwargs should not result in false positives or false negatives.
Version
precli 0.4.3.dev6 python version = 3.12.1 (main, Dec 12 2023, 13:19:17) [Clang 15.0.0 (clang-1500.0.40.1)]
Additional context https://github.com/apache/airflow/blob/main/airflow/providers/smtp/hooks/smtp.py#L135
Describe the bug For some rules that check kwargs, if a zipped dict is passed as the argument, the rule fails to understand this.
For example:
SMTP(**smtp_kwargs)
To Reproduce Steps to reproduce the behavior:
Expected behavior Rules that check kwargs should not result in false positives or false negatives.
Version
Additional context https://github.com/apache/airflow/blob/main/airflow/providers/smtp/hooks/smtp.py#L135