Commit Graph

11 Commits

Author SHA1 Message Date
Lidi Zheng 2231c2ba77
Introduce Python import sorting to our sanity test suite (#26768)
* Add isort_code.sh to sanity tests

* Run tools/distrib/isort_code.sh

* Fine tune the import order for relative imports

* Make pylint and project generation happy

* Fix a few corner cases

* Use --check instead of --diff

* The import order impacts test result somehow

* Make isort print diff and check output at the same time

* Let tools/run_tests/python_utils be firstparty library

* Run isort against latest HEAD
2021-07-26 12:31:21 -07:00
Lidi Zheng 5fc0547a94 Add basicConfig to prepare to log future exception 2018-11-30 09:56:40 -08:00
Nathaniel Manista 8234d14113 Close channels in examples 2018-06-14 17:16:04 +00:00
ncteisen 848a749f7a yapf examples/python 2017-12-12 10:59:01 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Nathaniel Manista c15ee83882 Update Python examples with fresh generated code 2016-12-21 21:05:19 +00:00
Nathaniel Manista 46585e23f1 Update examples to GA API 2016-07-15 22:33:50 +00:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Leifur Halldor Asgeirsson 4df39871d0 python3-compatible syntax for python examples 2016-03-18 16:24:29 -04:00
Nathaniel Manista 061d288f55 Beta Python documentation correction and update 2015-09-10 16:09:17 +00:00
Stanley Cheung 20fa6693f3 move examples to correct locations 2015-08-27 14:00:20 -07:00