ashb commented on code in PR #70946:
URL: https://github.com/apache/airflow/pull/70946#discussion_r3820643464


##########
scripts/ci/prek/common_prek_utils.py:
##########
@@ -118,7 +118,7 @@ def run_command(*args, **kwargs) -> None:
 
 
 def read_airflow_version() -> str:
-    ast_obj = ast.parse((AIRFLOW_CORE_SOURCES_PATH / "airflow" / 
"__init__.py").read_text())
+    ast_obj = ast.parse((AIRFLOW_CORE_SOURCES_PATH / "airflow" / 
"__init__.py").read_text(encoding="utf-8"))

Review Comment:
   Even on windows I though the default encoding for python opening files is 
UTF-8?



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