-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.yml: Run mypy --ignore-missing-imports #4276
Conversation
It seems that type hints for files in the directories: |
.github/workflows/build.yml
Outdated
python -m pip install pytest-cov -r requirements.txt | ||
python -m pip install mypy pytest-cov -r requirements.txt | ||
# FIXME: #4052 fix mypy errors in other directories and add them here | ||
- run: python3 -m mypy --ignore-missing-imports |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there's any need for calling mypy
using the Python interpreter as mypy
has its own entrypoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go!
* build.yml: Run mypy --ignore-missing-imports * pip install mypy * Remove failing directories * Add fractals and drop python-m
* build.yml: Run mypy --ignore-missing-imports * pip install mypy * Remove failing directories * Add fractals and drop python-m
* build.yml: Run mypy --ignore-missing-imports * pip install mypy * Remove failing directories * Add fractals and drop python-m
Describe your change:
An alternative to #4274
Checklist:
Fixes: #{$ISSUE_NO}
.