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

   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. Making some smaller PRs for the cleanup 
of PLW0603 assuming easier to review
   
   This PR attempts to remove the global keyword from settings objects module. 
It was mainly used as a cache, so replaced it with functools.cache
   
   As there are a couple of global statements and the settings class is a 
historical hairball, this is a small part 1 PR which removes the two variables 
only:
   - POLICY_PLUGIN_MANAGER
   - LOGGING_CLASS_PATH
   


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