sjyangkevin commented on issue #41641:
URL: https://github.com/apache/airflow/issues/41641#issuecomment-3863452075

   > 1. detect `provide_context` removal in `PythonOperator` (IIRC, ruff team 
didn't want us to remove args from func so this will most likely be a warning 
only)
   > 2. `none_failed_or_skipped` to `TriggerRule.NONE_FAILED_MIN_ONE_SUCCESS`
   > 3. `apply_default` can be removed
   > 4. might need to take a look at the `Variable.get` change
   > 
   > [@sjyangkevin](https://github.com/sjyangkevin) would like to give a a try?
   
   Sure, happy to take a look.
   
   1. add `provide_context` to AIR301, raise a warning.
   
   2. `none_failed_or_skipped` looks like is implemented but it uses 
`Replacement::None`
   
   
https://github.com/astral-sh/ruff/blob/56eb6b62936142c6ab2bdf0d7b864e32399e02a8/crates/ruff_linter/src/rules/airflow/rules/removal_in_3.rs#L831-L836
   
   4. `apply_default` to `AIR301` is implemented, but can update it to suggest 
a fix as this can be safely removed.
   
   6. `Variable.get` to AIR301, will have a deeper look into 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