From c6f15133cf94c3acb391e53e1c3474f6632688bb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 26 Jan 2016 16:50:47 -0800 Subject: [PATCH 1/3] Add a Travis CI configuration. --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..8ec6d7a45 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +sudo: false +language: python +python: + - "3.5" + # More versions later. + +install: + - pip install https://github.com/JukkaL/mypy + +script: + - mypy stdlib/3/ + # That doesn't test everything, but it's a start. From b091a7311c228de81f7bd6ac485e4166d8758ef6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 26 Jan 2016 16:54:18 -0800 Subject: [PATCH 2/3] Use the correct pip install incantation. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8ec6d7a45..108d9976e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ python: # More versions later. install: - - pip install https://github.com/JukkaL/mypy + - pip install git+git://github.com/JukkaL/mypy script: - mypy stdlib/3/ From ba4d782f70ffbceb451e141f2561414eade02285 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 26 Jan 2016 16:57:45 -0800 Subject: [PATCH 3/3] Fix bug in traceback.pyi (hey, tests are useful!). --- stdlib/3/traceback.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/traceback.pyi b/stdlib/3/traceback.pyi index d0cc403a4..21c256496 100644 --- a/stdlib/3/traceback.pyi +++ b/stdlib/3/traceback.pyi @@ -1,5 +1,6 @@ # Stubs for traceback +from types import TracebackType import typing # TODO signatures