6ad75cda1e
### What changes were proposed in this pull request? Add MyPy to the CI. Once this is installed on the CI: https://issues.apache.org/jira/browse/SPARK-32797?jql=project%20%3D%20SPARK%20AND%20text%20~%20mypy this wil automatically check the types. ### Why are the changes needed? We should check if the types are still correct on the CI. ``` MacBook-Pro-van-Fokko:spark fokkodriesprong$ ./dev/lint-python starting python compilation test... python compilation succeeded. starting pycodestyle test... pycodestyle checks passed. starting flake8 test... flake8 checks passed. starting mypy test... mypy checks passed. The sphinx-build command was not found. Skipping Sphinx build for now. all lint-python tests passed! ``` ### Does this PR introduce _any_ user-facing change? No :) ### How was this patch tested? By running `./dev/lint-python` locally. Closes #30088 from Fokko/SPARK-17333. Authored-by: Fokko Driesprong <fokko@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com> |
||
---|---|---|
.. | ||
workflows | ||
autolabeler.yml | ||
PULL_REQUEST_TEMPLATE |