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



##########
File path: .pre-commit-config.yaml
##########
@@ -494,19 +494,25 @@ repos:
         language: system
         entry: "./scripts/ci/pre_commit/pre_commit_mypy.sh"
         files: \.py$
-        exclude: ^dev|^provider_packages|^chart
+        exclude: ^dev|^provider_packages|^chart|^docs
       - id: mypy
         name: Run mypy for helm chart tests
         language: system
         entry: "./scripts/ci/pre_commit/pre_commit_mypy.sh"
         files: ^chart/.*\.py$
         require_serial: true
+      - id: mypy

Review comment:
       mypy does not support running checks a module (`mypy -m airflow`) and a 
file (`mypy dcos/ext /`) at the same run.




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