Commit Graph

21 Commits

Author SHA1 Message Date
Jelle Zijlstra
e50fcaf658 add mypy_selftest.py (#1102)
* add mypy_selftest.py
* add selftest to Travis
2017-04-17 11:17:27 -07:00
Łukasz Langa
9899037be9 Update dependencies in Travis and requirements-tests-py3.txt
We were still telling people to install mypy-lang 0.4.6!
2017-03-14 09:07:43 -07:00
Lukasz Langa
25a46f42be Switch to Python 3.6 for flake8 runs, re-enable E999 checks 2016-12-22 16:02:46 -08:00
Lukasz Langa
4466a225a6 Upgrade to flake8-pyi 16.12.1
Fixes #786.
2016-12-21 17:30:57 -08:00
Lukasz Langa
8c5c788a4d Enable flake8-pyi plugin to automatically include *.pyi files
This simplifies running flake8 tests and reduces the amount of F821 errors
reported (flake8-pyi enables support for forward references in *.pyi files).
The error code is left disabled until I clean up the remaining issues.
2016-12-21 00:56:01 -08:00
Lukasz Langa
79d8757f1f Enable flake8 tests
Ran both by Travis and locally. There's some setup required, README updated.
A few important Flake8 checks are still disabled, we're going to enable them as
soon as the stubs are fixed and we can reliably run Flake8 locally with Python
3.6.
2016-12-20 04:07:44 -08:00
Lukasz Langa
ab4ad3fe9d Make tests run with 3.6 --fast-parser, too 2016-11-26 20:17:28 -08:00
alvarocaceres
63cbe2dc3c Refactor how test are run, add tests to exercise pytype (if installed) (#353) 2016-07-12 15:30:54 -07:00
Guido van Rossum
4f483dc314 Precision surgery to take out sqlalchemy test failures (#140)
* Comment out parts of the sqlalchemy stubs to make tests pass.

* Run all tests, one step per Python version.
2016-04-10 20:45:42 -07:00
Guido van Rossum
35c3917c29 The tornado tests now pass. 2016-03-10 10:23:11 -08:00
Guido van Rossum
ddf43e3bdb Make tests version-aware. Now only tornado and sqlalchemy stubs fail. 2016-03-09 12:38:51 -08:00
Guido van Rossum
a7221265cc Install from python/mypy instead of JukkaL/mypy. 2016-02-28 18:59:47 -08:00
Guido van Rossum
bc26b28d78 Try using "pip install -U ..." to install mypy; does this make the test failure disappear? 2016-02-03 17:21:08 -08:00
Guido van Rossum
913495886d Wrote a runtests.py script. It has some flaws, hence the -x args in .travis.yml. 2016-01-28 13:22:45 -08:00
Guido van Rossum
f6f3d4d9ca Sigh. Need to write a local test script. 2016-01-28 11:36:52 -08:00
Guido van Rossum
f77e9dc9a0 Better approach to testing. Fixes #7. 2016-01-28 11:17:26 -08:00
Guido van Rossum
b3666b52cf Test 2and3, 3.3, 3.4. 2016-01-26 20:10:24 -08:00
Guido van Rossum
bf1dde5636 Fix tokenize.pyi; fix cp command. 2016-01-26 20:01:34 -08:00
Guido van Rossum
9e15a1db0a Add stdlib/2.7 to Travis CI tests. 2016-01-26 17:30:54 -08:00
Guido van Rossum
b091a7311c Use the correct pip install incantation. 2016-01-26 16:54:18 -08:00
Guido van Rossum
c6f15133cf Add a Travis CI configuration. 2016-01-26 16:50:47 -08:00