mik-laj commented on a change in pull request #12366: URL: https://github.com/apache/airflow/pull/12366#discussion_r523458104
########## 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 + name: Run mypy for /docs/ folder + language: system + entry: "./scripts/ci/pre_commit/pre_commit_mypy.sh" + files: ^docs/.*\.py$ + require_serial: true - id: pylint name: Run pylint language: system entry: "./scripts/ci/pre_commit/pre_commit_pylint.sh" files: \.py$ - exclude: ^scripts/.*\.py$|^dev|^provider_packages|^chart + exclude: ^scripts/.*\.py$|^dev|^provider_packages|^chart|^docs Review comment: It can't find modules. and i have no idea how to get around it. The `/scripts/ ` and `/dev/` directory is also excluded for the same reason. (probably) ---------------------------------------------------------------- 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: us...@infra.apache.org