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

   While implementing https://github.com/apache/airflow/pull/57294 I realized 
that a couple of more ruff PLW rules might be interesting, this PR enables 
PLW1508 - and adds fixes as needed.
   
   Alongside saw that the following needed no fixes and enabled them as well:
   - PLW0604: global at module level is redundant
   - PLW0642: Reassigned {} variable in {method_type} method
   - PLW0711: Exception to catch is the result of a binary and operation
   - PLW1501: {mode} is not a valid mode for open
   - PLW1507: Shallow copy of os.environ via copy.copy(os.environ)
   
   See also https://docs.astral.sh/ruff/rules/#warning-plw


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