ashb commented on PR #41637:
URL: https://github.com/apache/airflow/pull/41637#issuecomment-2301775740

   Instead of a pre-commit check and enforcing the style of the message did you 
consider adding extra (required) args to the deprecated decorator:
   
   ```python
       @deprecated(
           reason="Please use `create_build_without_waiting_for_result`",
           removed_after="2025-03-01",
           category=AirflowProviderDeprecationWarning,
       )
   ```
   
   That way the message can be generated programaticaly and be consistent that 
way -- no need for a precommit check then?


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