Skip to content

Run mypy self-check only once #4006

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

Merged
merged 3 commits into from
Sep 26, 2017
Merged

Conversation

emmatyping
Copy link
Member

Since we only need to test that mypy is type safe once, we skip the
mypy package check except on one test run. This is arbitrarily chosen as
3.5.1. 3.6 is not chosen as it already is running flake8.

Additionally, the old comment about pypy is removed as typed_ast doesn't run on pypy, so the comment is confusing and misleading.

Since we only need to test that mypy is type safe once, we skip the
mypy package check except on one test run. This is arbitrarily chosen as
3.5.1. 3.6 is not chosen as it already is running flake8.
@emmatyping emmatyping changed the title [WIP] Run mypy self-check only once Run mypy self-check only once Sep 25, 2017
@emmatyping
Copy link
Member Author

Okay this is ready for review. The appveyor failure is the usual #3895.

@emmatyping
Copy link
Member Author

Also travis timed out.

@gvanrossum
Copy link
Member

Well since this PR is specifically about Travis CI and AppVeyor it would be nice if we got the tests to pass at least once... I've restarted the Travis CI 3.5.1 job (the others passed), but I can't seem to find a "restart job" button on AppVeyor.

@emmatyping
Copy link
Member Author

I believe you need to go to "New Build" under the drop down and choose the branch. I believe the PR branch should show up. If not I can try to trigger it again.

@gvanrossum
Copy link
Member

Actually I think the menu item to use is "re-build". I'm not sure why it didn't appear for me before, possibly I switched accounts sloppily. I've now restarted it, hopefully it'll work.

@gvanrossum
Copy link
Member

The re-build either didn't have any effect or failed in the same way. And now I don't see the re-build button any more (nor new build). I'll just wait until tomorrow.

@gvanrossum
Copy link
Member

(Hm, I wonder if AppVeyor only lets me rebuild when there are no other builds running?)

@gvanrossum gvanrossum merged commit b41632f into python:master Sep 26, 2017
@emmatyping emmatyping deleted the reduce-selfcheck branch April 12, 2018 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants