turbaszek commented on a change in pull request #14344:
URL: https://github.com/apache/airflow/pull/14344#discussion_r580046818



##########
File path: 
airflow/upgrade/rules/chain_between_dag_and_operator_not_allowed_rule.py
##########
@@ -36,7 +36,7 @@ def _change_info(self, file_path, line_number):
 
     def _check_file(self, file_path):
         problems = []
-        with open(file_path, "r") as file_pointer:
+        with open(file_path, "r", errors="ignore") as file_pointer:

Review comment:
       I think this may solve the problem. To be honest I'm not sure if 
ignoring errors is a good idea - it may make hard spotting a next issue.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to