Commit Graph

23 Commits

Author SHA1 Message Date
Xavier Fernandez c0203692fa travis: keep lint jobs for docs-only changes 2019-07-18 14:37:31 +02:00
SeongSoo Cho 17be5bfe81 Upgrade Sphinx version for Read the Docs (#6477) 2019-05-08 11:26:34 -04:00
Chris Jerdonek 5bc80d6583 Pin pytest-xdist to < 1.28.0 in tests-requirements.txt. 2019-04-03 18:26:45 -07:00
Chris Jerdonek 4bf25b0aa0 Pin pytest-rerunfailures to < 7.0 in tests-requirements.txt. 2019-03-29 02:28:56 -07:00
Pradyun Gedam 04f1e70427
Merge pull request #6282 from mkurnikov/update-flake8-to-3.7.6
Update flake8 to 3.7.6
2019-02-22 21:56:28 +05:30
Maxim Kurnikov 75c4f4a298 update flake8 to 3.7.6 2019-02-22 14:05:53 +03:00
Maxim Kurnikov bd06107923 update mypy to 0.670 2019-02-22 00:39:40 +03:00
Nick Coghlan 682cff7230 Fix #6163: Default to setuptools.build_meta:__legacy__
The main setuptools PEP 517 backend is intended for
explicit usage in `pyproject.toml`, when the project
authors can ensure that their `setup.py` runs without
that directory being implicitly on `sys.path`.

For implicit usage, setuptools now offers a separate
legacy backend that more closely mimics direct
execution of the `setup.py` script.
2019-02-06 20:57:57 +10:00
Pradyun Gedam 7e22a2234e
Update the mypy version 2018-12-18 11:15:56 +05:30
Pradyun Gedam 20356a7142
Use tox -e pypy on Travis CI for PyPy 2.7 and 3.5 2018-12-13 19:54:53 +05:30
Benoit Pierre 744b8cf96e improve build environment
- check build requirements for conflicts
- better isolation (ignore system site packages)
- support 2 prefixes: a "normal" one, and an "overlay" one
  (with higher priority over "normal")
2018-10-29 23:17:51 +01:00
Benoit Pierre a4209aa0fb tests: add support for using venv for the virtual environment
Add a new testsuite option `--use-venv` to enable the use of `venv`
for creating a test virtual environment. The option is opt-in because
creating a `venv` environment does not work right when running under a
`virtualenv`; which is why `tox-venv` must be used in combination with
tox.
2018-10-21 21:43:32 +02:00
Benoit Pierre add3801163 tests: rework tests virtual environment
- cleanup virtualenv creation code
- ensure all testing virtual environments use a recent version
  of setuptools / wheel, making it easier to switch to custom
  versions of those, as well as reducing network accesses
- reduce size of testing virtual environment, slightly speeding
  up the testsuite
2018-10-18 23:28:37 +02:00
Benoit Pierre 3953fe6c95 tests: temporarily pin pytest to fix AppVeyor builds 2018-10-17 18:15:28 +02:00
Benoit Pierre c9e47c9903 tox: fix environment setup
Ensure a stable version of pip is used for installing
dependencies, and not the version about to be tested.
2018-10-07 14:10:58 +02:00
Pradyun Gedam 9a2f1aa8a3
Pin to the older mypy version 2018-09-18 12:59:49 +05:30
Pradyun Gedam 31c2389304
Merge pull request #5560 from pradyunsg/python-37-yaml-hack
Remove hack for pyyaml support on 3.7
2018-07-15 15:07:53 +05:30
Pradyun Gedam 1962198861
Remove hack for pyyaml support on 3.7 2018-07-03 00:50:10 +05:30
Pradyun Gedam 85e000ede6
Upgrade to newer isort 2018-06-27 12:53:31 +05:30
Pradyun Gedam cc720b76ef
Upgrade to a newer flake8 2018-06-27 12:53:31 +05:30
Pradyun Gedam 69783941c7
Move linting requirements to a requirements file 2018-06-16 00:08:33 +05:30
Pradyun Gedam c57705d1e4
Move requirements files to tools/
* Rename dev-requirements to tests-requirements
2018-06-15 23:36:28 +05:30
Pradyun Gedam 66b2c7f7ba
Move Travis files into tools/ 2018-06-15 21:54:55 +05:30