sunank200 commented on PR #51876:
URL: https://github.com/apache/airflow/pull/51876#issuecomment-2983353330

   > I would even propose to turn them into scripts and run them via 
pre-commit. Those tests are fast and can be easily run every time "task-sdk" 
changes and they are much more like "static" tests than "unit tests"
   
   @potiuk These public‐api checks are true pytest tests - they import the 
package at runtime, inspect __all__, and assert what’s actually there. I think 
pre-commit hooks in Airflow are intended to be fast, static linters or 
formatters, and they shouldn’t be reaching into the code to execute it.
   


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