jscheffl opened a new pull request, #57642:
URL: https://github.com/apache/airflow/pull/57642

   As I was attempting to clean code toward ruff rule PLW0603 
(https://docs.astral.sh/ruff/rules/global-statement/) I noticed that some code 
is a bit... outdated to be refactored.
   
   First proposal is to get rid of the global statement in the Fernet/crypto 
wrapper which just used the global variable as cache.
   
   Whereas I would like to have feedback as well as in 
airflow-core/src/airflow/configuration.py:2108 actually we changed in the past 
to always generate a FERNET_KEY even if none is provided, so could we erase-out 
some complexity as we assume durnog start there will be always one FERNET_KEY 
being around?


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