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
Updated mypy checks #4889
Updated mypy checks #4889
Conversation
Pull Request Test Coverage Report for Build 1153544933
💛 - Coveralls |
99f5421
to
a0f8174
Compare
I've rebased the PR onto #4890 |
Seems like pre-commit.ci needs to be updated as well. |
I like the isolation that pre-commit does. This permit to not have to handle the mypy environnement ourselves 'locally or in github action) and will reduce problem as pre-commit configuration is the source of truth and there would be no human intervention. We can add something in |
We already have all additional typing dependencies in
That's the way we do it at the moment. One more won't make a difference, but I think in the future we might want to reuse the local environment as it's easier to deal with. |
a0f8174
to
a04d6bc
Compare
@Pierre-Sassoulas I updated the PR to only add |
Type of Changes
Description
#4887 (comment) mentioned that
platformdirs
is now fully typed.To be able to remove the import ignore from
setup.cfg
, we would need to addplatformdirs
as an additional dependency in.pre-commit-config.yaml
. Long term it might be better to just run mypy in the local environment instead.If the PR is accepted, I'll update
astroid
as well.