mik-laj commented on a change in pull request #11693:
URL: https://github.com/apache/airflow/pull/11693#discussion_r512165649



##########
File path: .pre-commit-config.yaml
##########
@@ -277,7 +277,7 @@ repos:
         entry: "^\\s*from\\s+\\."
         pass_filenames: true
         files: \.py$
-        exclude: ^tests/
+        exclude: ^tests/|^chart/tests/

Review comment:
       In my opinion, this is expected behavior. Instead, we should use the 
correct imports.
   ````diff
   -from .helm_template_generator import render_chart
   +from tests.helm_template_generator import render_chart
   ````




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