Lightning-AI / utilities

Common Python utilities and GitHub Actions in Lightning Ecosystem
Apache License 2.0
49 stars 14 forks source link

ci: update mypy check #288

Closed Borda closed 1 month ago

Borda commented 1 month ago
Before submitting - [ ] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements) - [x] Did you read the [contributor guideline](https://github.com/Lightning-AI/lightning/blob/master/.github/CONTRIBUTING.md), Pull Request section? - Did you make sure to update the docs? - [x] Did all existing and newly added tests pass locally?

What does this PR do?

mypy
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/Lightning-AI/lightning-app/actions/runs/9991062745/job/27613090126?pr=979#step:8:3).9.19/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.19/x6[4](https://github.com/Lightning-AI/lightning-app/actions/runs/9991062745/job/27613090126?pr=979#step:8:4)/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.19/x[6](https://github.com/Lightning-AI/lightning-app/actions/runs/9991062745/job/27613090126?pr=979#step:8:6)4
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.19/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.19/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.19/x64/lib
error: --install-types failed (no mypy cache directory)

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.


πŸ“š Documentation preview πŸ“š: https://lit-utilities--288.org.readthedocs.build/en/288/