You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/14 20:08:37 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #12366: Improvements for operators and hooks ref docs

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:
users@infra.apache.org