ray/.travis
Alok Singh f795173b51 Use flake8-comprehensions (#1976)
* Add flake8 to Travis

* Add flake8-comprehensions

[flake8 plugin](https://github.com/adamchainz/flake8-comprehensions) that
checks for useless constructions.

* Use generators instead of lists where appropriate

A lot of the builtins can take in generators instead of lists.

This commit applies `flake8-comprehensions` to find them.

* Fix lint error

* Fix some string formatting

The rest can be fixed in another PR

* Fix compound literals syntax

This should probably be merged after #1963.

* dict() -> {}

* Use dict literal syntax

dict(...) -> {...}

* Rewrite nested dicts

* Fix hanging indent

* Add missing import

* Add missing quote

* fmt

* Add missing whitespace

* rm duplicate pip install

This is already installed in another file.

* Fix indent

* move `merge_dicts` into utils

* Bring up to date with `master`

* Add automatic syntax upgrade

* rm pyupgrade

In case users want to still use it on their own, the upgrade-syn.sh script was
left in the `.travis` dir.
2018-05-20 16:15:06 -07:00
..
check-git-clang-format-output.sh New web UI. (#176) 2017-01-06 00:13:22 -08:00
git-clang-format Changes to make tests pass on Travis. (#3) 2016-10-25 22:39:21 -07:00
install-cython-examples.sh Add basic functionality for Cython functions and actors (#1193) 2017-11-09 17:49:06 -08:00
install-dependencies.sh Use flake8-comprehensions (#1976) 2018-05-20 16:15:06 -07:00
install-ray.sh Use miniconda for all travis tests. (#728) 2017-07-13 16:23:04 +00:00
test-wheels.sh In setup.py, move cython to setup_requires. (#878) 2017-08-28 23:07:33 -07:00
upgrade-syn.sh Use flake8-comprehensions (#1976) 2018-05-20 16:15:06 -07:00
yapf.sh YAPF, take 3 (#2098) 2018-05-19 16:07:28 -07:00