-
Notifications
You must be signed in to change notification settings - Fork 1.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
Reduce mypy errors (use sys.info instead of try-fail) #1969
Conversation
Nice, thanks! Running our full CI then will merge |
I'll have a look at that tomorrow:
(Other topic: I'm a bit confused by seeing "buildkite/dagster/black — Passed (49 seconds)" - do you use the black formatter? Why does that pass? I'm pretty sure I have seen non-black formatted code) |
Ya you can check the Makefile in the root to see what args we use |
When I run Picking just one of many examples: https://github.com/dagster-io/dagster/blob/master/python_modules/dagster/dagster/seven/abc.py#L45-L62 is not |
huh - which version of |
Good catch! Yes, my black version was a bit outdated. I didn't have the |
Going back to the bug: I'm still a bit puzzled by it. If I read https://buildkite.com/dagster/dagster/builds/8064#f1449ea8-72ea-4350-a1b6-19b68d7a7726 correctly, then it runs from a docker image 968703565975.dkr.ecr.us-west-1.amazonaws.com/buildkite-integration:py3.7.4-v6 - the name indicates that Python 3.7 is executed there. But the failure ( |
I understand the problem now, but it might be that it is not possible to make pylint and mypy happy at the moment. python/mypy#1393 (comment) could be a blocker. Let's see, maybe somebody knows a work-around: https://stackoverflow.com/q/59295045/562769 |
I think we would be fine with suppression comments to disable pylint assuming it's just in a few spots. |
apologies, these test failures on windows are my fault -- if you rebase on master these should go away |
Windows failures are resolved on master so I think this is gtg. |
Let's rebase on master to kick the CI off again and then should be good to go when all checks are green. |
No description provided.