Maxim Kurnikov
3692097cca
add per-file disallow_untyped_defs=False, and set it to True globally
2019-09-29 23:31:15 +02:00
Pradyun Gedam
0f093c1f76
Delete mypy.txt
2019-09-28 19:55:38 +05:30
Pradyun Gedam
033a01333c
Drop tox -e packaging from CIs
2019-09-24 18:35:53 +05:30
Pradyun Gedam
ea68afab93
Enable isort in pre-commit
2019-09-24 18:03:22 +05:30
Pradyun Gedam
7b005c2d7d
Switch to using pre-commit in `tox lint`
2019-09-24 18:03:18 +05:30
Pradyun Gedam
ea80263958
Drop lint-py2 and mypy from Travis CI
2019-09-24 17:03:38 +05:30
Chris Hunt
459c1c7e40
Validate NEWS files with rstcheck.
2019-09-16 20:52:46 -04:00
Pradyun Gedam
ae4a22958e
Move invoke.generate commands to nox
2019-09-05 12:40:33 +05:30
Pradyun Gedam
506a08bc38
Rename `tox lint-py3` to `tox lint`
...
Also update references to it, in Travis CI config and in documentation.
2019-08-27 13:55:20 +05:30
Pradyun Gedam
ef91b330cb
Merge pull request #6816 from pradyunsg/move-tasks-to-tools.automation
...
Move invoke tasks to tools/automation
2019-07-30 18:57:48 +05:30
Pradyun Gedam
c9b6d252a8
Move invoke commands to tools.automation
2019-07-30 17:41:22 +05:30
Pradyun Gedam
c6da85a6eb
Move requirement files to tools/requirements/
2019-07-30 17:01:05 +05:30
Pradyun Gedam
ebdde3d17d
Bump mypy version
2019-07-29 23:19:09 +05:30
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