-
Notifications
You must be signed in to change notification settings - Fork 287
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
Mypy is failing while checking finetune_eval.py #1733
Comments
Thanks for raising the issue! Mypy should actually only check the |
@guarin, as long as there is no src, I think it should be configured to check only tests. I will make a PR to fix this. |
haha, friend, you quoted the wrong person |
@gurain, 对不起! |
@guarin, if I set mypy to analyze only tests it throws a lot of error from this folder. If I understand correctly you have a TODO in pyproject.toml to empty the exclude list. I can take some files from there and exclude them one by one if it is OK. |
Hi, yes we have an issue to increase typing coverage: #1635 |
@guarin, great, I will work on it. |
As long as there is duplicated naming of finetune_eval in
benchmarks/imagenet/resnet50/finetune_eval.py
andbenchmarks/imagenet/vitb16/finetune_eval.py
mypy throws an exception when runningpre-commit run --all-files
:There are 3 solutions:
The text was updated successfully, but these errors were encountered: