Taragolis commented on PR #36831:
URL: https://github.com/apache/airflow/pull/36831#issuecomment-1895920129

   Missing `stacklevel` could be prohibited resolved by 
https://docs.astral.sh/ruff/rules/no-explicit-stacklevel/ by I do not any way 
how to ban `stacklevel=1` rather than write something custom.
   
   stacklevel=1 in most cases it useless level, because it point to exact place 
where it raised rather than where it called. 
   
   We could add B028 to ruff config as soon as we resolve this PR, 
https://github.com/apache/airflow/pull/36834 and make changes in core


-- 
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]

Reply via email to