Skip to content

Commit b44cc22

Browse files
author
hauntsaninja
committed
DO NOT MERGE: use hauntsaninja/stubtest2 to make things work
Once stubtest is merged into mypy, I'll update the hash, delete this commit, and this should be ready to go.
1 parent 5ec9056 commit b44cc22

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
script: flake8
3232
- name: "stubtest py38"
3333
python: 3.8
34-
install: pip install -U git+git://github.com/python/mypy@TODOHASH
34+
install: pip install -U git+git://github.com/hauntsaninja/mypy@stubtest2
3535
script: ./tests/stubtest_test.py
3636
- name: "stubtest py37"
3737
python: 3.7
38-
install: pip install -U git+git://github.com/python/mypy@TODOHASH
38+
install: pip install -U git+git://github.com/hauntsaninja/mypy@stubtest2
3939
script: ./tests/stubtest_test.py
4040
- name: "stubtest py36"
4141
python: 3.6
42-
install: pip install -U git+git://github.com/python/mypy@TODOHASH
42+
install: pip install -U git+git://github.com/hauntsaninja/mypy@stubtest2
4343
script: ./tests/stubtest_test.py
4444
- name: "stubtest py35"
4545
python: 3.5
46-
install: pip install -U git+git://github.com/python/mypy@TODOHASH
46+
install: pip install -U git+git://github.com/hauntsaninja/mypy@stubtest2
4747
script: ./tests/stubtest_test.py

tests/stubtest_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Pin a version of mypy to prevent changes in stubtest from breaking CI.
1616
# Keep this in sync with the hash in .travis.yml, which will pin the version of mypy, preventing
1717
# changes in mypy that affect stubtest from breaking CI.
18-
STUBTEST_COMMIT_HASH = "master"
18+
STUBTEST_COMMIT_HASH = "stubtest2"
1919

2020

2121
def run_stubtest(mypy_dir: Path, typeshed_dir: Path) -> int:
@@ -65,6 +65,6 @@ def run_stubtest(mypy_dir: Path, typeshed_dir: Path) -> int:
6565
if __name__ == "__main__":
6666
with tempfile.TemporaryDirectory() as tempdir:
6767
mypy_dir = Path(tempdir) / "mypy"
68-
subprocess.run(["git", "clone", "git://github.com/python/mypy", str(mypy_dir)], check=True)
68+
subprocess.run(["git", "clone", "git://github.com/hauntsaninja/mypy", str(mypy_dir)], check=True)
6969
subprocess.run(["git", "checkout", STUBTEST_COMMIT_HASH], cwd=str(mypy_dir), check=True)
7070
sys.exit(run_stubtest(mypy_dir, typeshed_dir=Path(".")))

0 commit comments

Comments
 (0)